Skip to content

Commit

Permalink
Promote feature CustomResourceValidationExpressions to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
cici37 committed Jul 27, 2022
1 parent bdd2e47 commit 64e6cf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

genericfeatures.AdvancedAuditing: {Default: true, PreRelease: featuregate.GA},

genericfeatures.CustomResourceValidationExpressions: {Default: false, PreRelease: featuregate.Alpha},
genericfeatures.CustomResourceValidationExpressions: {Default: true, PreRelease: featuregate.Beta},

genericfeatures.DryRun: {Default: true, PreRelease: featuregate.GA},

Expand Down
3 changes: 2 additions & 1 deletion staging/src/k8s.io/apiserver/pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const (
// owner: @cici37
// kep: http://kep.k8s.io/2876
// alpha: v1.23
// beta: v1.25
//
// Enables expression validation for Custom Resource
CustomResourceValidationExpressions featuregate.Feature = "CustomResourceValidationExpressions"
Expand Down Expand Up @@ -198,7 +199,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

AdvancedAuditing: {Default: true, PreRelease: featuregate.GA},

CustomResourceValidationExpressions: {Default: false, PreRelease: featuregate.Alpha},
CustomResourceValidationExpressions: {Default: true, PreRelease: featuregate.Beta},

DryRun: {Default: true, PreRelease: featuregate.GA},

Expand Down

0 comments on commit 64e6cf1

Please sign in to comment.