Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundle/manifests/addon-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
- v1
containerPort: 443
deploymentName: addon-operator-webhooks
failurePolicy: Fail
failurePolicy: Ignore
generateName: vaddons.managed.openshift.io
rules:
- apiGroups:
Expand Down
4 changes: 3 additions & 1 deletion config/templates/csv-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ spec:
- v1
containerPort: 443
deploymentName: addon-operator-webhooks
failurePolicy: Fail
# Ignore so webhook unavailability during node drains does not block MCO.
# Compensating controls: 2 replicas with pod anti-affinity, preStop hook.
failurePolicy: Ignore
Comment thread
coderabbitai[bot] marked this conversation as resolved.
generateName: vaddons.managed.openshift.io
rules:
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ webhooks:
name: webhook-service
namespace: openshift-addon-operator
path: /validate-addon
failurePolicy: Fail
# Ignore so webhook unavailability during node drains does not block MCO.
# Compensating controls: 2 replicas with pod anti-affinity, preStop hook.
failurePolicy: Ignore
name: vaddons.managed.openshift.io
rules:
- apiGroups:
Expand Down
4 changes: 4 additions & 0 deletions deploy/70_webhook-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ spec:
containers:
- name: webhook
image: quay.io/openshift/addon-operator-webhook:latest
lifecycle:
preStop:
exec:
command: ["sleep", "5"]
ports:
- containerPort: 8080
livenessProbe:
Expand Down
4 changes: 3 additions & 1 deletion deploy_pko/ValidatingWebhookConfiguration-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ webhooks:
name: addon-operator-webhook
namespace: openshift-addon-operator
path: /validate-addon
failurePolicy: Fail
# Ignore so webhook unavailability during node drains does not block MCO.
# Compensating controls: 2 replicas with pod anti-affinity, preStop hook.
failurePolicy: Ignore
name: vaddons.managed.openshift.io
rules:
- apiGroups:
Expand Down
4 changes: 3 additions & 1 deletion hack/webhookdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
- v1
containerPort: 443
deploymentName: addon-operator-webhooks
failurePolicy: Fail
# Ignore so webhook unavailability during node drains does not block MCO.
# Compensating controls: 2 replicas with pod anti-affinity, preStop hook.
failurePolicy: Ignore
generateName: vaddons.managed.openshift.io
rules:
- apiGroups:
Expand Down