Merge pull request #123719 from enj/enj/f/authn_config_beta
Mark StructuredAuthenticationConfiguration feature gate as beta
This commit is contained in:
		| @@ -1297,7 +1297,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS | ||||
|  | ||||
| 	genericfeatures.StorageVersionHash: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
| 	genericfeatures.StructuredAuthenticationConfiguration: {Default: false, PreRelease: featuregate.Alpha}, | ||||
| 	genericfeatures.StructuredAuthenticationConfiguration: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
| 	genericfeatures.StructuredAuthorizationConfiguration: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
|   | ||||
| @@ -214,9 +214,9 @@ func TestAuthenticationValidate(t *testing.T) { | ||||
| 			expectErr: "number of webhook retry attempts must be greater than 0, but is: 0", | ||||
| 		}, | ||||
| 		{ | ||||
| 			name:                         "test when authentication config file is set without feature gate", | ||||
| 			name:                         "test when authentication config file is set (feature gate enabled by default)", | ||||
| 			testAuthenticationConfigFile: "configfile", | ||||
| 			expectErr:                    "set --feature-gates=StructuredAuthenticationConfiguration=true to use authentication-config file", | ||||
| 			expectErr:                    "", | ||||
| 		}, | ||||
| 		{ | ||||
| 			name:                         "test when authentication config file and oidc-* flags are set", | ||||
|   | ||||
| @@ -237,6 +237,7 @@ const ( | ||||
| 	// owner: @aramase, @enj, @nabokihms | ||||
| 	// kep: https://kep.k8s.io/3331 | ||||
| 	// alpha: v1.29 | ||||
| 	// beta: v1.30 | ||||
| 	// | ||||
| 	// Enables Structured Authentication Configuration | ||||
| 	StructuredAuthenticationConfiguration featuregate.Feature = "StructuredAuthenticationConfiguration" | ||||
| @@ -340,7 +341,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS | ||||
|  | ||||
| 	StorageVersionHash: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
| 	StructuredAuthenticationConfiguration: {Default: false, PreRelease: featuregate.Alpha}, | ||||
| 	StructuredAuthenticationConfiguration: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
| 	StructuredAuthorizationConfiguration: {Default: true, PreRelease: featuregate.Beta}, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot