mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Added set and map structural validation for AllowedTopologies **What this PR does / why we need it**: Adding structural validation to AllowedTopologies field in StorageClass. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #66184 **Release note**: ```release-note AllowedTopologies field inside StorageClass is now validated against set and map semantics. Specifically, there cannot be duplicate TopologySelectorTerms, MatchLabelExpressions keys, and TopologySelectorLabelRequirement Values. ``` |
||
---|---|---|
.. | ||
fuzzer | ||
install | ||
util | ||
v1 | ||
v1alpha1 | ||
v1beta1 | ||
validation | ||
BUILD | ||
OWNERS | ||
doc.go | ||
register.go | ||
types.go | ||
zz_generated.deepcopy.go |