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 }}