Merge pull request #88290 from tallclair/spr-deprecate
Start deprecation process for StreamingProxyRedirects Kubernetes-commit: 20e6883a75db6dbc7908aba2ee69ed9afa8525ed
This commit is contained in:
commit
509fd5d9b8
|
@ -33,9 +33,12 @@ const (
|
||||||
// owner: @tallclair
|
// owner: @tallclair
|
||||||
// alpha: v1.5
|
// alpha: v1.5
|
||||||
// beta: v1.6
|
// beta: v1.6
|
||||||
|
// deprecated: v1.18
|
||||||
//
|
//
|
||||||
// StreamingProxyRedirects controls whether the apiserver should intercept (and follow)
|
// StreamingProxyRedirects controls whether the apiserver should intercept (and follow)
|
||||||
// redirects from the backend (Kubelet) for streaming requests (exec/attach/port-forward).
|
// redirects from the backend (Kubelet) for streaming requests (exec/attach/port-forward).
|
||||||
|
//
|
||||||
|
// This feature is deprecated, and will be removed in v1.22.
|
||||||
StreamingProxyRedirects featuregate.Feature = "StreamingProxyRedirects"
|
StreamingProxyRedirects featuregate.Feature = "StreamingProxyRedirects"
|
||||||
|
|
||||||
// owner: @tallclair
|
// owner: @tallclair
|
||||||
|
@ -156,7 +159,7 @@ func init() {
|
||||||
// To add a new feature, define a key for it above and add it here. The features will be
|
// To add a new feature, define a key for it above and add it here. The features will be
|
||||||
// available throughout Kubernetes binaries.
|
// available throughout Kubernetes binaries.
|
||||||
var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
|
var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
|
||||||
StreamingProxyRedirects: {Default: true, PreRelease: featuregate.Beta},
|
StreamingProxyRedirects: {Default: true, PreRelease: featuregate.Deprecated},
|
||||||
ValidateProxyRedirects: {Default: true, PreRelease: featuregate.Beta},
|
ValidateProxyRedirects: {Default: true, PreRelease: featuregate.Beta},
|
||||||
AdvancedAuditing: {Default: true, PreRelease: featuregate.GA},
|
AdvancedAuditing: {Default: true, PreRelease: featuregate.GA},
|
||||||
DynamicAuditing: {Default: false, PreRelease: featuregate.Alpha},
|
DynamicAuditing: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
Loading…
Reference in New Issue