feat(grafana): enabled/disabled configurable

!8
This commit is contained in:
2024-02-04 15:01:04 +09:30
parent c5bb46f48a
commit e0cb8f57e2
16 changed files with 43 additions and 6 deletions

View File

@ -1,3 +1,4 @@
{{ if .Values.nfc_monitoring.grafana.enabled -}}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
@ -31,3 +32,5 @@ spec:
matchLabels:
{{ toYaml $.Values.nfc_monitoring.grafana.labels | nindent 6 }}
app.kubernetes.io/part-of: {{ $.Chart.Name }}
{{- end }}