mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	depracate ValidateProxyRedirects as it is with StreamingProxyRedirects
Signed-off-by: pacoxu <paco.xu@daocloud.io>
This commit is contained in:
		@@ -850,7 +850,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
 | 
			
		||||
	// inherited features from generic apiserver, relisted here to get a conflict if it is changed
 | 
			
		||||
	// unintentionally on either side:
 | 
			
		||||
	genericfeatures.StreamingProxyRedirects: {Default: false, PreRelease: featuregate.Deprecated}, // remove in 1.24
 | 
			
		||||
	genericfeatures.ValidateProxyRedirects:  {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
	genericfeatures.ValidateProxyRedirects:  {Default: true, PreRelease: featuregate.Deprecated},
 | 
			
		||||
	genericfeatures.AdvancedAuditing:        {Default: true, PreRelease: featuregate.GA},
 | 
			
		||||
	genericfeatures.APIResponseCompression:  {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
	genericfeatures.APIListChunking:         {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
 
 | 
			
		||||
@@ -44,6 +44,7 @@ const (
 | 
			
		||||
	// owner: @tallclair
 | 
			
		||||
	// alpha: v1.12
 | 
			
		||||
	// beta: v1.14
 | 
			
		||||
	// deprecated: v1.22
 | 
			
		||||
	//
 | 
			
		||||
	// ValidateProxyRedirects controls whether the apiserver should validate that redirects are only
 | 
			
		||||
	// followed to the same host. Only used if StreamingProxyRedirects is enabled.
 | 
			
		||||
@@ -173,7 +174,7 @@ func init() {
 | 
			
		||||
// available throughout Kubernetes binaries.
 | 
			
		||||
var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
 | 
			
		||||
	StreamingProxyRedirects:  {Default: false, PreRelease: featuregate.Deprecated},
 | 
			
		||||
	ValidateProxyRedirects:   {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
	ValidateProxyRedirects:   {Default: true, PreRelease: featuregate.Deprecated},
 | 
			
		||||
	AdvancedAuditing:         {Default: true, PreRelease: featuregate.GA},
 | 
			
		||||
	APIResponseCompression:   {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
	APIListChunking:          {Default: true, PreRelease: featuregate.Beta},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user