Add controller-manager metrics to PodMonitor (#748)
Signed-off-by: pratik-lotia <[email protected]>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user