Correct pulsar proxy prometheus.io/port annotation (#548)

This commit is contained in:
doug-ba 2024-11-18 21:39:24 -08:00 committed by GitHub
parent ed50c68633
commit f6b6d88847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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