-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
🐛 fix issue to scaffold same Kind for different groups with multi-group support by using group name in crd/patches and rbac editor/viewer manifests #2500
Conversation
Welcome @rmb938! |
Hi @rmb938. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
334da7c
to
695795e
Compare
b7550a1
to
d737834
Compare
I've split the commits into actual code changes vs test data being re-generated. Hopefully it makes it easier to review :) |
/ok-to-test |
/lgtm cancel |
...mmon/kustomize/v1/scaffolds/internal/templates/config/crd/patches/enablecainjection_patch.go
Outdated
Show resolved
Hide resolved
...s/common/kustomize/v1/scaffolds/internal/templates/config/crd/patches/enablewebhook_patch.go
Outdated
Show resolved
Hide resolved
pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/rbac/crd_editor_role.go
Outdated
Show resolved
Hide resolved
pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/rbac/crd_viewer_role.go
Outdated
Show resolved
Hide resolved
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.
Thank you for the terrific collab 🥇
Just a nit. We need to only change the path/name when is multigroup.
Could you please:
- Apply the suggestions
- Run make generate
- Push the changes in 1 commit ( squashed )
For we are able to get these ones merged
Thank you a lot.
Co-authored-by: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com>
d49ab87
to
02afb69
Compare
/retest |
ok @camilamacedo86 All the changes are done and tests have passed. Let me know if there's anything else! |
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.
Thank you for the great contribution 🥇
/lgtm
/approved
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, rmb938 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Modification to include the group name in the crd patch and rbac editor/viewer file names. This is to prevent file naming conflicts when multiple groups have the same kind names.
This is to fix #2495