fix(08-03): add release label to ServiceMonitor for Prometheus discovery
Some checks failed
Build and Push / build (push) Has been cancelled
Some checks failed
Build and Push / build (push) Has been cancelled
- Prometheus serviceMonitorSelector requires 'release: kube-prometheus-stack' label - Without this label, Prometheus doesn't discover the ServiceMonitor
This commit is contained in:
@@ -5,6 +5,7 @@ metadata:
|
|||||||
name: {{ include "taskplaner.fullname" . }}
|
name: {{ include "taskplaner.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "taskplaner.labels" . | nindent 4 }}
|
{{- include "taskplaner.labels" . | nindent 4 }}
|
||||||
|
release: kube-prometheus-stack
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|||||||
Reference in New Issue
Block a user