UNCLASSIFIED

Commit 913a5f93 authored by Ryan Garcia's avatar Ryan Garcia
Browse files

fix: Templating out podmonitor namespace var

parent 296f206a
Pipeline #144050 passed with stages
in 4 minutes and 18 seconds
......@@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: gatekeeper
namespace: gatekeeper-system
namespace: {{ .Release.Namespace }}
labels:
monitoring: gatekeeper
release: gatekeeper-system-gatekeeper
......@@ -13,8 +13,8 @@ spec:
app: gatekeeper
namespaceSelector:
matchNames:
- gatekeeper-system
- {{ .Release.Namespace }}
podMetricsEndpoints:
- port: metrics
interval: 10s
{{- end }}
\ No newline at end of file
{{- end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment