Set gate SkipReadOnlyValidationGCE to Deprecated

This was created as alpha (off by default) but should probably have used
the "Deprecated" setting.  Changing it now makes it on by default and
still disable-able.
This commit is contained in:
Tim Hockin
2023-10-09 10:31:25 -07:00
parent 246aba8912
commit d6d2c5775f

View File

@@ -142,7 +142,8 @@ const (
// owner: @mfordjody
// alpha: v1.26
//
// Skip validation Enable in next version
// Bypasses obsolete validation that GCP volumes are read-only when used in
// Deployments.
SkipReadOnlyValidationGCE featuregate.Feature = "SkipReadOnlyValidationGCE"
// owner: @trierra
@@ -1000,7 +1001,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
CSIVolumeHealth: {Default: false, PreRelease: featuregate.Alpha},
SkipReadOnlyValidationGCE: {Default: false, PreRelease: featuregate.Alpha},
SkipReadOnlyValidationGCE: {Default: true, PreRelease: featuregate.Deprecated}, // remove in 1.31
CloudControllerManagerWebhook: {Default: false, PreRelease: featuregate.Alpha},