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
|
@ -3,7 +3,7 @@ appVersion: v3.5.11
|
|||
name: argo-workflows
|
||||
description: A Helm chart for Argo Workflows
|
||||
type: application
|
||||
version: 0.42.4
|
||||
version: 0.42.5
|
||||
icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
sources:
|
||||
|
@ -16,5 +16,5 @@ annotations:
|
|||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||
artifacthub.io/changes: |
|
||||
- kind: changed
|
||||
description: Scrape interval for metrics and telemetry data can now be set
|
||||
- kind: fixed
|
||||
description: Avoid to create ClusterRole for cluster template when singleNamespace
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -118,7 +118,7 @@ rules:
|
|||
- patch
|
||||
- delete
|
||||
|
||||
{{- if .Values.server.clusterWorkflowTemplates.enabled }}
|
||||
{{- if and .Values.server.clusterWorkflowTemplates.enabled (not .Values.singleNamespace) }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
Loading…
Reference in a new issue