fix feature gate version introduced for MatchLabelKeeysInPodAffinity

This commit is contained in:
Jefftree 2024-09-03 17:27:52 +00:00
parent 86d5bb8607
commit 2954dbbe26
3 changed files with 3 additions and 3 deletions

View File

@ -432,7 +432,7 @@ const (
// owner: @sanposhiho
// kep: https://kep.k8s.io/3633
// alpha: v1.29
// beta: v1.30
// beta: v1.31
//
// Enables the MatchLabelKeys and MismatchLabelKeys in PodAffinity and PodAntiAffinity.
MatchLabelKeysInPodAffinity featuregate.Feature = "MatchLabelKeysInPodAffinity"

View File

@ -192,7 +192,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
},
MatchLabelKeysInPodAffinity: {
{Version: version.MustParse("1.29"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.30"), Default: true, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.31"), Default: true, PreRelease: featuregate.Beta},
},
MatchLabelKeysInPodTopologySpread: {
{Version: version.MustParse("1.25"), Default: false, PreRelease: featuregate.Alpha},

View File

@ -429,7 +429,7 @@
- default: true
lockToDefault: false
preRelease: Beta
version: "1.30"
version: "1.31"
- name: MatchLabelKeysInPodTopologySpread
versionedSpecs:
- default: false