blob: 5349492037a7bd20c79f817f848bcf8a5a202ab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: {{ template "prometheus.fullname" . }}-prometheus
labels:
app: {{ template "prometheus.name" . }}-prometheus
"helm.sh/hook": post-install
"helm.sh/hook-weight": "2"
spec:
serviceAccountName: {{ template "prometheus.serviceAccountName" . }}
serviceMonitorSelector:
matchLabels:
app: {{ template "prometheus.name" . }}-prometheus
release: {{ .Release.Name }}
serviceMonitorNamespaceSelector:
matchNames:
- {{ .Release.Namespace | quote }}
resources:
{{ toYaml .Values.prometheus.resources | indent 4 }}
|