fix(argo-workflows): Avoid to create ClusterRole for cluster template when singleNamespace (#2955)
This commit is contained in:
parent
994838a2ef
commit
d61432be3c
3 changed files with 5 additions and 5 deletions
|
|
@ -198,7 +198,7 @@ rules:
|
|||
- watch
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.controller.clusterWorkflowTemplates.enabled }}
|
||||
{{- if and .Values.controller.clusterWorkflowTemplates.enabled (not .Values.singleNamespace) }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue