File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
charts/gitops-runtime/templates/_components/gitops-operator/rbac Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,15 +89,15 @@ subjects:
8989 namespace : {{ .Release.Namespace }}
9090---
9191apiVersion : rbac.authorization.k8s.io/v1
92- kind : ClusterRoleBinding
92+ kind : {{ .Values.singleNamespace | ternary "RoleBinding" " ClusterRoleBinding" }}
9393metadata :
9494 labels :
9595 {{- include "gitops-operator.selectorLabels" . | nindent 4 }}
9696 name : {{ .Values.singleNamespace | ternary (printf "codefresh-gitops-operator-workflows-%s" .Release.Namespace) "codefresh-gitops-operator-workflows" }}
9797roleRef :
9898 apiGroup : rbac.authorization.k8s.io
99- kind : ClusterRole
100- name : argo-edit
99+ kind : {{ .Values.singleNamespace | ternary "Role" " ClusterRole" }}
100+ name : {{ .Values.singleNamespace | ternary " argo-workflow-controller" "argo- edit" }}
101101subjects :
102102- kind : ServiceAccount
103103 name : {{ include "gitops-operator.serviceAccountName" . }}
You can’t perform that action at this time.
0 commit comments