File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{- if eq (index .Values.openopsEnv "OPS_SUBAGENTS_ENABLED") "true" }}
12apiVersion : rbac.authorization.k8s.io/v1
23kind : Role
34metadata :
2223- apiGroups : [""]
2324 resources : ["pods/log"]
2425 verbs : ["get"]
26+ {{- end }}
Original file line number Diff line number Diff line change 1+ {{- if eq (index .Values.openopsEnv "OPS_SUBAGENTS_ENABLED") "true" }}
12apiVersion : rbac.authorization.k8s.io/v1
23kind : RoleBinding
34metadata :
@@ -20,3 +21,4 @@ subjects:
2021- kind : ServiceAccount
2122 name : {{ include "openops.serviceAccountName" (dict "root" . "component" "app") }}
2223 namespace : {{ .Release.Namespace }}
24+ {{- end }}
Original file line number Diff line number Diff line change @@ -146,11 +146,11 @@ openopsEnv:
146146 # Subagent configuration
147147 OPS_SUBAGENTS_ENABLED : " false"
148148 OPS_SUBAGENT_EXECUTOR_TYPE : " k8s"
149- OPS_SUBAGENT_K8S_NAMESPACE : " {{ .Release.Namespace }}"
149+ OPS_SUBAGENT_K8S_NAMESPACE : ' {{ .Values.subagents.namespace | default . Release.Namespace }}'
150150 OPS_SUBAGENT_S3_BUCKET : " "
151151 OPS_SUBAGENT_S3_REGION : " "
152152 OPS_SUBAGENT_S3_ENDPOINT : " "
153- OPS_SUBAGENT_RUNNER_IMAGE : " 535002847982.dkr.ecr.us-east-2.amazonaws.com/openops/subagent-runner:main "
153+ OPS_SUBAGENT_RUNNER_IMAGE : " 535002847982.dkr.ecr.us-east-2.amazonaws.com/openops/subagent-runner:0fdbc6b1 "
154154
155155# Secret environment variables
156156# Any var in this section is treated as a secret (stored in K8s Secret, referenced via secretKeyRef).
You can’t perform that action at this time.
0 commit comments