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 @@ -1243,7 +1243,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
1243
1243
1244
1244
genericfeatures .StorageVersionHash : {Default : true , PreRelease : featuregate .Beta },
1245
1245
1246
- genericfeatures .StructuredAuthenticationConfiguration : {Default : false , PreRelease : featuregate .Alpha },
1246
+ genericfeatures .StructuredAuthenticationConfiguration : {Default : true , PreRelease : featuregate .Beta },
1247
1247
1248
1248
genericfeatures .StructuredAuthorizationConfiguration : {Default : true , PreRelease : featuregate .Beta },
1249
1249
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 @@ -234,6 +234,7 @@ const (
234
234
// owner: @aramase, @enj, @nabokihms
235
235
// kep: https://kep.k8s.io/3331
236
236
// alpha: v1.29
237
+ // beta: v1.30
237
238
//
238
239
// Enables Structured Authentication Configuration
239
240
StructuredAuthenticationConfiguration featuregate.Feature = "StructuredAuthenticationConfiguration"
@@ -337,7 +338,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
337
338
338
339
StorageVersionHash : {Default : true , PreRelease : featuregate .Beta },
339
340
340
- StructuredAuthenticationConfiguration : {Default : false , PreRelease : featuregate .Alpha },
341
+ StructuredAuthenticationConfiguration : {Default : true , PreRelease : featuregate .Beta },
341
342
342
343
StructuredAuthorizationConfiguration : {Default : true , PreRelease : featuregate .Beta },
343
344
You can’t perform that action at this time.
0 commit comments