We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc125d6 commit 57a9a25Copy full SHA for 57a9a25
2 files changed
chart/templates/role-app-subagents.yaml
@@ -1,4 +1,5 @@
1
-{{- if eq (index .Values.openopsEnv "OPS_SUBAGENTS_ENABLED") "true" }}
+{{- $openopsEnv := .Values.openopsEnv | default dict }}
2
+{{- if and (eq (toString (get $openopsEnv "OPS_SUBAGENTS_ENABLED")) "true") (eq (default "k8s" (get $openopsEnv "OPS_SUBAGENT_EXECUTOR_TYPE")) "k8s") }}
3
apiVersion: rbac.authorization.k8s.io/v1
4
kind: Role
5
metadata:
chart/templates/rolebinding-app-subagents.yaml
kind: RoleBinding
0 commit comments