mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #56874 from caesarxuchao/fail-open-doc
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Update the comments on webhook failure policy ref: kubernetes/features#492 Note that comments on constants aren't reflected in the user docs
This commit is contained in:
commit
2e3cb71583
@ -106,11 +106,9 @@ type Rule struct {
|
|||||||
type FailurePolicyType string
|
type FailurePolicyType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Ignore means the initializer is removed from the initializers list of an
|
// Ignore means that an error calling the webhook is ignored.
|
||||||
// object if the initializer is timed out.
|
|
||||||
Ignore FailurePolicyType = "Ignore"
|
Ignore FailurePolicyType = "Ignore"
|
||||||
// For 1.7, only "Ignore" is allowed. "Fail" will be allowed when the
|
// Fail means that an error calling the webhook causes the admission to fail.
|
||||||
// extensible admission feature is beta.
|
|
||||||
Fail FailurePolicyType = "Fail"
|
Fail FailurePolicyType = "Fail"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -54,11 +54,9 @@ type Rule struct {
|
|||||||
type FailurePolicyType string
|
type FailurePolicyType string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Ignore means the initializer is removed from the initializers list of an
|
// Ignore means that an error calling the webhook is ignored.
|
||||||
// object if the initializer is timed out.
|
|
||||||
Ignore FailurePolicyType = "Ignore"
|
Ignore FailurePolicyType = "Ignore"
|
||||||
// For 1.7, only "Ignore" is allowed. "Fail" will be allowed when the
|
// Fail means that an error calling the webhook causes the admission to fail.
|
||||||
// extensible admission feature is beta.
|
|
||||||
Fail FailurePolicyType = "Fail"
|
Fail FailurePolicyType = "Fail"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user