-
Notifications
You must be signed in to change notification settings - Fork 526
[GRM] Drop TokenInvalidator
controller and webhook and disable PodTopologySpreadConstraints
webhook in favour of matchLabelKeys
in deployment
#11497
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
[GRM] Drop TokenInvalidator
controller and webhook and disable PodTopologySpreadConstraints
webhook in favour of matchLabelKeys
in deployment
#11497
Conversation
Skipping CI for Draft Pull Request. |
e510ef5
to
21e1f62
Compare
/cc @timuthy |
21e1f62
to
576a4e3
Compare
/retest |
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.
Nice, thanks for taking care 👏
/lgtm
LGTM label has been added. Git tree hash: 05b090194c96b44ba79c3481ffbf4e01713015a1
|
Upgrade tests seem to be failing consistently, will take a look. |
…e Deployment in `HighAvailabilityConfig` webhook for the match label keys For shoots, disable it only if the `MatchLabelKeysInPodTopologySpread` feature gate is disabled in kube-apiserver and kube-scheduler
…tation from seed resources
576a4e3
to
6b8d4e4
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
/approve
LGTM label has been added. Git tree hash: 75d686de0e2decac24b1fe02f9ac32eace163ce7
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: timuthy 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 open-source
/kind cleanup
What this PR does / why we need it:
TokenInvalidator
controller. In 1.27LegacyServiceAccountTokenNoAutoGeneration
becomesLockToDefault: true
ref.MatchLabelKeysInPodTopologySpread
feature gate is beta since kubernetesv1.27
ref. DisablePodTopologySpreadConstraints
webhook for seeds and usespec.topologySpreadConstraints[*].matchLabelKeys
in deployments. Only enablePodTopologySpreadConstraints
for Shoots if the kubernetes feature gate is disabled explicitly.Which issue(s) this PR fixes:
Part of #10339
Special notes for your reviewer:
Need to adapt some tests, hence in draft.
Release note: