Add controller-manager metrics to PodMonitor (#748)

Signed-off-by: pratik-lotia <[email protected]>
This commit is contained in:
Pratik Lotia
2026-02-10 13:23:33 -08:00
committed by GitHub
parent 86a806f3c6
commit ba2b6a5a02
@@ -21,6 +21,7 @@ spec:
{{- include "spire-server.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: prom
- port: prom-cm
{{- if ne $namespace $podNamespace }}
namespaceSelector:
kubernetes.io/metadata.name: {{ $podNamespace }}