fix(argo-workflows): Avoid to create ClusterRole for cluster template when singleNamespace (#2955)

This commit is contained in:
Aikawa 2024-10-02 09:46:40 +09:00 committed by GitHub
parent 994838a2ef
commit d61432be3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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