There was an error while loading. Please reload this page.
1 parent 19cda79 commit c4a03faCopy full SHA for c4a03fa
1 file changed
pkg/operator/operands/admission/admission_test.go
@@ -83,7 +83,8 @@ var _ = Describe("Admission", func() {
83
Expect(mutatingWebhook.Webhooks).To(HaveLen(1))
84
Expect(mutatingWebhook.Webhooks[0].ClientConfig.CABundle).To(Equal(secret.Data[certKey]))
85
86
- // Webhooks: pods (Fail), pods/resize (Ignore), topology (Fail).
+ // failurePolicy per webhook: pods=Fail, topology=Fail, pods/resize=Ignore
87
+ // (fail-open: the apiserver admits the request if the webhook call fails).
88
Expect(validatingWebhook.Webhooks).To(HaveLen(3))
89
for _, wh := range validatingWebhook.Webhooks {
90
Expect(wh.ClientConfig.CABundle).To(Equal(secret.Data[certKey]))
0 commit comments