From 76ea8715147baba7810ecb25935678ff518110fd Mon Sep 17 00:00:00 2001 From: Doug Baggett Date: Mon, 11 Nov 2024 14:31:10 -0800 Subject: [PATCH] Correct pulsar proxy prometheus.io/port annotation --- charts/pulsar/templates/proxy-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pulsar/templates/proxy-statefulset.yaml b/charts/pulsar/templates/proxy-statefulset.yaml index 6a585121..740d256e 100644 --- a/charts/pulsar/templates/proxy-statefulset.yaml +++ b/charts/pulsar/templates/proxy-statefulset.yaml @@ -45,7 +45,7 @@ spec: component: {{ .Values.proxy.component }} annotations: prometheus.io/scrape: "true" - prometheus.io/port: "{{ .Values.proxy.ports.http }}" + prometheus.io/port: "{{ .Values.proxy.ports.containerPorts.http }}" {{- if .Values.proxy.restartPodsOnConfigMapChange }} checksum/config: {{ include (print $.Template.BasePath "/proxy-configmap.yaml") . | sha256sum }} {{- end }}