Skip to content

Commit

Permalink
Promote DenyInvalidExtensionResources feature gate to beta (gardene…
Browse files Browse the repository at this point in the history
  • Loading branch information
ary1992 authored and Kristiyan Gostev committed Apr 21, 2022
1 parent 0c4bea5 commit e021f85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/deployment/feature_gates.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ The following tables are a summary of the feature gates that you can set on diff
| UseDNSRecords | `false` | `Alpha` | `1.27` | `1.38` |
| UseDNSRecords | `true` | `Beta` | `1.39` | |
| RotateSSHKeypairOnMaintenance | `false` | `Alpha` | `1.28` | |
| DenyInvalidExtensionResources | `false` | `Alpha` | `1.31` | |
| DenyInvalidExtensionResources | `false` | `Alpha` | `1.31` | `1.41` |
| DenyInvalidExtensionResources | `true` | `Beta` | `1.42` | |
| WorkerPoolKubernetesVersion | `false` | `Alpha` | `1.35` | |
| CopyEtcdBackupsDuringControlPlaneMigration | `false` | `Alpha` | `1.37` | |
| SecretBindingProviderValidation | `false` | `Alpha` | `1.38` | |
Expand Down
1 change: 1 addition & 0 deletions pkg/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const (
// DenyInvalidExtensionResources causes the seed-admission-controller to deny invalid extension resources (instead of just logging validation errors).
// owner: @stoyanr
// alpha: v1.31.0
// beta: v1.42.0
DenyInvalidExtensionResources featuregate.Feature = "DenyInvalidExtensionResources"

// WorkerPoolKubernetesVersion allows to overwrite the Kubernetes version used for shoot clusters per worker pool.
Expand Down
2 changes: 1 addition & 1 deletion pkg/gardenlet/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (
features.SeedKubeScheduler: {Default: false, PreRelease: featuregate.Alpha},
features.ReversedVPN: {Default: false, PreRelease: featuregate.Alpha},
features.UseDNSRecords: {Default: true, PreRelease: featuregate.Beta},
features.DenyInvalidExtensionResources: {Default: false, PreRelease: featuregate.Alpha},
features.DenyInvalidExtensionResources: {Default: true, PreRelease: featuregate.Beta},
features.CopyEtcdBackupsDuringControlPlaneMigration: {Default: false, PreRelease: featuregate.Alpha},
features.ForceRestore: {Default: false, PreRelease: featuregate.Alpha},
features.DisableDNSProviderManagement: {Default: false, PreRelease: featuregate.Alpha},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
- /gardener-seed-admission-controller
- --port=10250
- --tls-cert-dir=/srv/gardener-seed-admission-controller
- --allow-invalid-extension-resources=true
- --allow-invalid-extension-resources=false
- --health-bind-address=:8081
image: ` + image + `
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit e021f85

Please sign in to comment.