mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Enable admissionWebhookMatchCondition by default
This commit is contained in:
parent
0074b24ca4
commit
94c8ad289b
@ -771,7 +771,7 @@ type ValidatingWebhook struct {
|
|||||||
// - If failurePolicy=Fail, reject the request
|
// - If failurePolicy=Fail, reject the request
|
||||||
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
||||||
//
|
//
|
||||||
// This is an beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
|
// This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
|
||||||
//
|
//
|
||||||
// +featureGate=AdmissionWebhookMatchConditions
|
// +featureGate=AdmissionWebhookMatchConditions
|
||||||
// +optional
|
// +optional
|
||||||
@ -931,7 +931,7 @@ type MutatingWebhook struct {
|
|||||||
// - If failurePolicy=Fail, reject the request
|
// - If failurePolicy=Fail, reject the request
|
||||||
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
|
||||||
//
|
//
|
||||||
// This is an beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
|
// This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
|
||||||
//
|
//
|
||||||
// +featureGate=AdmissionWebhookMatchConditions
|
// +featureGate=AdmissionWebhookMatchConditions
|
||||||
// +optional
|
// +optional
|
||||||
|
@ -1063,7 +1063,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
||||||
// unintentionally on either side:
|
// unintentionally on either side:
|
||||||
|
|
||||||
genericfeatures.AdmissionWebhookMatchConditions: {Default: false, PreRelease: featuregate.Beta},
|
genericfeatures.AdmissionWebhookMatchConditions: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
genericfeatures.AggregatedDiscoveryEndpoint: {Default: true, PreRelease: featuregate.Beta},
|
genericfeatures.AggregatedDiscoveryEndpoint: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
|
|
||||||
AggregatedDiscoveryEndpoint: {Default: true, PreRelease: featuregate.Beta},
|
AggregatedDiscoveryEndpoint: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
AdmissionWebhookMatchConditions: {Default: false, PreRelease: featuregate.Beta},
|
AdmissionWebhookMatchConditions: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
APIListChunking: {Default: true, PreRelease: featuregate.Beta},
|
APIListChunking: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user