18 lines
521 B
YAML
18 lines
521 B
YAML
{{- if .Values.monitoring.enabled -}}
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "passbook.name" . }}
|
|
helm.sh/chart: {{ include "passbook.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
name: {{ include "passbook.fullname" . }}-static-monitoring
|
|
spec:
|
|
endpoints:
|
|
- port: http
|
|
selector:
|
|
matchLabels:
|
|
k8s.passbook.beryju.org/component: static
|
|
{{- end }}
|