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

!8
This commit is contained in:
2024-02-04 15:49:43 +09:30
parent 9c35a4d140
commit bdb3a09c2b
9 changed files with 36 additions and 2 deletions

View File

@ -1,3 +1,4 @@
{{ if .Values.nfc_monitoring.kube_monitor_proxy.enabled }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@ -19,3 +20,5 @@ rules:
resources:
- subjectaccessreviews
verbs: ["create"]
{{ end }}