feat(kube_state_metrics): don't deploy if not enabled

!8
This commit is contained in:
2024-02-04 15:38:19 +09:30
parent bc4d72ff8e
commit 9c35a4d140
7 changed files with 52 additions and 31 deletions

View File

@ -1,3 +1,4 @@
{{ if .Values.nfc_monitoring.kube_state_metrics.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
@ -65,3 +66,5 @@ spec:
for: 15m
labels:
severity: critical
{{ end }}