-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
✨ grant rbac access to experimental infra api group #2959
Conversation
@@ -28,6 +28,20 @@ rules: | |||
- patch | |||
- update | |||
- watch | |||
- apiGroups: | |||
- bootstrap.cluster.x-k8s.io | |||
- exp.infrastructure.cluster.x-k8s.io |
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.
should this be added to the apiGroups above instead?
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.
These should be automatically generated
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.
why are bootstrap.cluster.x-k8s.io
and infrastructure.cluster.x-k8s.io
duplicated then?
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 haven't looked at the controller-tools in a while, but IIRC it's because there is two different kubebuilder
directives which the code can't dedupe
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.
not allowing all resources for the experimental group can be an extra gate when / if needed. LGTM as per the existing exp.cluster.x-k8s.io
.
also this ClusterRole file seems quite messy, indeed.
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.
/lgtm
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.
/approve
/milestone v0.3.4
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: devigned, vincepri 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 |
What this PR does / why we need it:
This grants CAPI access to
exp.infrastructure.cluster.x-k8s.io
api group. Theexp.infrastructure.cluster.x-k8s.io
api group corresponds to experimental features in the infrastructure provider and was patterned afterexp.cluster.x-k8s.io
. This will be useful for supportingMachinePool
and other experimental implementations in infra providers.Related: