-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reject mutations to additionalLabels field (#917)
K8s does not support mutating selectors and labels on statefulsets at the same time: kubernetes/kubernetes#90519. This PR adds a validation hook to reject mutating additionalLabels, which will cause mutating selectors and labels on the underlying sts, and a constant reconciliation loop.
- Loading branch information
Ye Ji
authored
Jun 30, 2023
1 parent
e5af1e0
commit f441d93
Showing
3 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters