diff --git a/charts/victoria-metrics-operator/templates/deployment.yaml b/charts/victoria-metrics-operator/templates/deployment.yaml index 4eb30c16c..9a3b5e61b 100644 --- a/charts/victoria-metrics-operator/templates/deployment.yaml +++ b/charts/victoria-metrics-operator/templates/deployment.yaml @@ -98,7 +98,7 @@ spec: containerPort: {{ include "vm.port.from.flag" (dict "flag" (index .Values.extraArgs "health-probe-bind-address") "default" "8081") }} protocol: TCP - name: webhook - containerPort: 9443 + containerPort: {{ include "vm.port.from.flag" (dict "flag" (index .Values.extraArgs "webhook.port") "default" "9443") }} protocol: TCP {{- with (fromYaml (include "vm.probe" (dict "app" .Values "type" "readiness"))) }} readinessProbe: {{ toYaml . | nindent 12 }}