misc: added more scoping logic for namespace installation

This commit is contained in:
Sheen Capadngan
2025-01-21 23:57:11 +08:00
parent 5c9b46dfba
commit 38d431ec77
4 changed files with 9 additions and 5 deletions
@@ -1,3 +1,4 @@
{{- if not .Values.scopedNamespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
@@ -11,4 +12,5 @@ rules:
- nonResourceURLs:
- /metrics
verbs:
- get
- get
{{- end }}