From 265c957b14fc7e9f3d9aaff10efde12c10127d0c Mon Sep 17 00:00:00 2001 From: Alexander Lembiewski <47157503+alembiewski@users.noreply.github.com> Date: Thu, 14 Nov 2019 12:25:09 +0300 Subject: [PATCH] Fix mutating admission webhook (#60) --- kudo-operator/operator/operator.yaml | 2 +- kudo-operator/operator/templates/spark-operator-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kudo-operator/operator/operator.yaml b/kudo-operator/operator/operator.yaml index 39efccd3..3df88595 100644 --- a/kudo-operator/operator/operator.yaml +++ b/kudo-operator/operator/operator.yaml @@ -21,8 +21,8 @@ tasks: - spark-rbac.yaml - spark-serviceaccount.yaml - webhook-init-job.yaml - - spark-operator-deployment.yaml - webhook-service.yaml + - spark-operator-deployment.yaml - spark-history-server-deployment.yaml - spark-history-server-service.yaml diff --git a/kudo-operator/operator/templates/spark-operator-deployment.yaml b/kudo-operator/operator/templates/spark-operator-deployment.yaml index 6205240d..2beb8ea1 100644 --- a/kudo-operator/operator/templates/spark-operator-deployment.yaml +++ b/kudo-operator/operator/templates/spark-operator-deployment.yaml @@ -84,6 +84,6 @@ spec: - -enable-webhook=true - -webhook-svc-namespace={{ .Namespace }} - -webhook-port={{ .Params.webhookPort }} - - -webhook-svc-name={{ .OperatorName }}-webhook + - -webhook-svc-name={{ .Name }}-webhook - -webhook-config-name={{ .OperatorName }}-webhook-config {{- end }}