depracate ValidateProxyRedirects as it is with StreamingProxyRedirects

Signed-off-by: pacoxu <paco.xu@daocloud.io>

Kubernetes-commit: 27044f4855209c515c57a77378fce970af097b14
This commit is contained in:
pacoxu 2021-05-26 20:18:49 +08:00 committed by Kubernetes Publisher
parent d636703205
commit a18ab75c53
1 changed files with 2 additions and 1 deletions

View File

@ -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.
@ -174,7 +175,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},