Skip to content

Commit c3bf8af

Browse files
Merge pull request #479 from JoelSpeed/ignore-webhook-failures
NO-JIRA: Set admission failure policy to Ignore
2 parents 87639bd + faf0e8d commit c3bf8af

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

pkg/controllers/crdcompatibility/bindata/assets/compatibility-requirements-compatibility-requirement-webhook.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ webhooks:
1717
name: compatibility-requirements-controllers-webhook-service
1818
namespace: openshift-compatibility-requirements-operator
1919
path: /validate-apiextensions-openshift-io-v1alpha1-compatibilityrequirement
20-
failurePolicy: Fail
20+
# XXX: This is Ignore so that we don't block cluster bootstrap.
21+
# Long term we want to make this Fail, but first we need to resolve https://github.com/openshift/enhancements/pull/1941.
22+
failurePolicy: Ignore
2123
matchPolicy: Equivalent
2224
name: compatibilityrequirement.operator.openshift.io
2325
rules:

pkg/controllers/crdcompatibility/bindata/assets/compatibility-requirements-custom-resource-definition-webhook.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ webhooks:
1717
name: compatibility-requirements-controllers-webhook-service
1818
namespace: openshift-compatibility-requirements-operator
1919
path: /validate-apiextensions-k8s-io-v1-customresourcedefinition
20-
failurePolicy: Fail
20+
# XXX: This is Ignore so that we don't block cluster bootstrap.
21+
# Long term we want to make this Fail, but first we need to resolve https://github.com/openshift/enhancements/pull/1941.
22+
failurePolicy: Ignore
2123
matchPolicy: Equivalent
2224
name: compatibilityrequirement.operator.openshift.io
2325
rules:

0 commit comments

Comments
 (0)