File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
staging/src/k8s.io/apiserver/pkg/features Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1297,7 +1297,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
1297
1297
1298
1298
genericfeatures .StorageVersionHash : {Default : true , PreRelease : featuregate .Beta },
1299
1299
1300
- genericfeatures .StructuredAuthenticationConfiguration : {Default : false , PreRelease : featuregate .Alpha },
1300
+ genericfeatures .StructuredAuthenticationConfiguration : {Default : true , PreRelease : featuregate .Beta },
1301
1301
1302
1302
genericfeatures .StructuredAuthorizationConfiguration : {Default : true , PreRelease : featuregate .Beta },
1303
1303
Original file line number Diff line number Diff line change @@ -214,9 +214,9 @@ func TestAuthenticationValidate(t *testing.T) {
214
214
expectErr : "number of webhook retry attempts must be greater than 0, but is: 0" ,
215
215
},
216
216
{
217
- name : "test when authentication config file is set without feature gate" ,
217
+ name : "test when authentication config file is set ( feature gate enabled by default) " ,
218
218
testAuthenticationConfigFile : "configfile" ,
219
- expectErr : "set --feature-gates=StructuredAuthenticationConfiguration=true to use authentication-config file " ,
219
+ expectErr : "" ,
220
220
},
221
221
{
222
222
name : "test when authentication config file and oidc-* flags are set" ,
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ const (
237
237
// owner: @aramase, @enj, @nabokihms
238
238
// kep: https://kep.k8s.io/3331
239
239
// alpha: v1.29
240
+ // beta: v1.30
240
241
//
241
242
// Enables Structured Authentication Configuration
242
243
StructuredAuthenticationConfiguration featuregate.Feature = "StructuredAuthenticationConfiguration"
@@ -340,7 +341,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
340
341
341
342
StorageVersionHash : {Default : true , PreRelease : featuregate .Beta },
342
343
343
- StructuredAuthenticationConfiguration : {Default : false , PreRelease : featuregate .Alpha },
344
+ StructuredAuthenticationConfiguration : {Default : true , PreRelease : featuregate .Beta },
344
345
345
346
StructuredAuthorizationConfiguration : {Default : true , PreRelease : featuregate .Beta },
346
347
You can’t perform that action at this time.
0 commit comments