From a3622f2f62ebced8f33d25ca249ca478415b75c5 Mon Sep 17 00:00:00 2001 From: cliveseldon Date: Wed, 18 Dec 2019 10:10:42 +0000 Subject: [PATCH] Add missing patch --- operator/config/webhook/patch_webhook.yaml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 operator/config/webhook/patch_webhook.yaml diff --git a/operator/config/webhook/patch_webhook.yaml b/operator/config/webhook/patch_webhook.yaml new file mode 100644 index 0000000000..70765b597e --- /dev/null +++ b/operator/config/webhook/patch_webhook.yaml @@ -0,0 +1,36 @@ +- op: add + path: /webhooks/0/objectSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id +- op: add + path: /webhooks/0/namespaceSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id +- op: add + path: /webhooks/1/objectSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id +- op: add + path: /webhooks/1/namespaceSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id +- op: add + path: /webhooks/2/objectSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id +- op: add + path: /webhooks/2/namespaceSelector + value: + matchExpressions: + - operator: DoesNotExist + key: seldon.io/controller-id