-
Notifications
You must be signed in to change notification settings - Fork 527
Add custom rbac verbs to allow modification of NamespacedCloudProfile.Spec.{Kubernetes,MachineImages}
#10485
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
Add custom rbac verbs to allow modification of NamespacedCloudProfile.Spec.{Kubernetes,MachineImages}
#10485
Conversation
Skipping CI for Draft Pull Request. |
3e8f808
to
53a5192
Compare
/assign |
53a5192
to
8ad51ed
Compare
769c26d
to
cd62c39
Compare
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.
Can you document this feature somewhere, please?
cd62c39
to
a0307ec
Compare
Thank you for your review. |
Add NamespacedCloudProfile.
Checked `NamespacedCloudProfile` paths are `.spec.kubernetes` and `.spec.machineImages`.
a0307ec
to
b163ff5
Compare
b163ff5
to
c0ac8d4
Compare
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.
Comments as discussed.
Very nice PR, thanks for the changes 🙂
charts/gardener/controlplane/charts/application/templates/rbac-user.yaml
Show resolved
Hide resolved
… permissions for NamespacedCloudProfiles.
test/integration/controllermanager/project/project/project_test.go
Outdated
Show resolved
Hide resolved
6cce4be
to
69ce0b2
Compare
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
LGTM label has been added. Git tree hash: d9d53f07d637f3052f5496e5da3f4714d38993b5
|
test/integration/controllermanager/project/project/project_suite_test.go
Show resolved
Hide resolved
It could take some additional time for CloudProfiles to be propagated to the cache and be visible to the controller.
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
/approve
LGTM label has been added. Git tree hash: 129ecf07fa64162e36c566fefff0bc5e691861c8
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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 |
How to categorize this PR?
/area usability
/area scalability
/kind api-change
/kind enhancement
What this PR does / why we need it:
NamespacedCloudProfile
s, with different capabilities depending on their role within the project.modify-spec-kubernetes
andmodify-spec-machineimages
to allow modifications on aNamespacedCloudProfile
in thekubernetes
andmachineImages
sections. Typically to be used by operators.ReorderShoot
api response so thatcloudProfile
andcloudProfileName
are placed next to each other. This has a visible impact especially on the dashboard in theShoot
"YAML" page view.Which issue(s) this PR fixes:
Part of #9504.
Special notes for your reviewer:
/cc @timuthy
Release note: