-
Notifications
You must be signed in to change notification settings - Fork 43
Migrate CRDs from enterprise-contract/enterprise-contract-controller
#2680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This commit is the initial migration of the CRDs from `enterprise-contract/enterprise-contract-controller` to this repo. Assisted-by: claude-4-sonnet Ref: EC-1316 Signed-off-by: Rob Nester <rnester@redhat.com>
This commit updates the github workflows to integrate the migrated CRDs. Additionally, the makefile was updated as appropriate. Assisted-by: claude-4-sonnet Ref: EC-1316 Signed-off-by: Rob Nester <rnester@redhat.com>
This commit updates the version of go specified in the `schema/go.mod` and `tools/crd/go.mod` files from `1.23.6` to `1.24.4` to provide consistency across all go modules in the project. Ref: EC-1316 Signed-off-by: Rob Nester <rnester@redhat.com>
Codecov Report❌ Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 22 files with indirect coverage changes 🚀 New features to boost your workflow:
|
This commit updates license headers where appropriate for merged CRD related files. Ref: EC-1316 Signed-off-by: Rob Nester <rnester@redhat.com>
This commit updates the crd-schema workflow. Ref: EC-1316 Signed-off-by: Rob Nester <rnester@redhat.com>
| for f in $(git diff --exit-code --name-only); do | ||
| echo "::error file=$f,line=1,col=1,endColumn=1::File was modified in build" | ||
| done | ||
| git status --porcelain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this replaces the existing check. Is that ok, and should we now run make all when this check is triggered?
| @@ -0,0 +1,21 @@ | |||
| # Copyright The Conforma Contributors | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this file is missing some content. Here is the original.
$ cat kustomization.yaml
# This kustomization.yaml is not intended to be run by itself,
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/appstudio.redhat.com_enterprisecontractpolicies.yaml
- enterprisecontractpolicy_editor_role.yaml
- enterprisecontractpolicy_viewer_role.yaml
- openshift_console_example.yaml
#+kubebuilder:scaffold:crdkustomizeresource
patchesStrategicMerge:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
#- patches/webhook_in_enterprisecontractpolicies.yaml
#+kubebuilder:scaffold:crdkustomizewebhookpatch
# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
- kustomizeconfig.yaml|
This is being closed as the underlying story has changed. The CRDs will be migrated to their own repository per team discussions. |
This PR is a first pass at migrating the CRDs from the
enterprise-contract/enterprise-contract-controllerrepository.