diff --git a/charts/milvus-operator/templates/deployment.yaml b/charts/milvus-operator/templates/deployment.yaml index d4610e51..84945924 100644 --- a/charts/milvus-operator/templates/deployment.yaml +++ b/charts/milvus-operator/templates/deployment.yaml @@ -22,8 +22,8 @@ spec: - --health-probe-bind-address=:8081 - --metrics-bind-address=:8080 - --leader-elect - {{- if not .Values.enableWebhook }} - - --webhook=false + {{- if .Values.enableWebhook }} + - --webhook=true {{- end }} command: - /manager @@ -68,5 +68,5 @@ spec: - name: cert secret: defaultMode: 420 - # secretName: {{ include "$.chart.fullname" . }}-webhook-cert + secretName: {{ include "chart.fullname" . }}-webhook-cert {{- end }}