mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Mark StructuredAuthenticationConfiguration feature gate as beta
Signed-off-by: Monis Khan <mok@microsoft.com>
This commit is contained in:
		@@ -1243,7 +1243,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",
 | 
			
		||||
 
 | 
			
		||||
@@ -234,6 +234,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"
 | 
			
		||||
@@ -337,7 +338,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