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

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

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

View file

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