From b940d758d1947608ec172e045cf3e0f2c932d694 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Tue, 8 Oct 2024 09:23:13 +0300 Subject: [PATCH] webhook: configurable pod port --- charts/victoria-metrics-operator/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}