fix(argo-workflows): avoid empty namespace in role binding when singleNamespace is true (#2858)

Signed-off-by: Aljoscha Poertner <aljoscha.poertner@hellmann.com>
pull/2860/head argo-workflows-0.41.14
Aljoscha Pörtner 2024-08-02 12:42:36 +02:00 committed by GitHub
parent d89333a6b8
commit b5fcbe23c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@ appVersion: v3.5.10
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.41.13
version: 0.41.14
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: Bump argo-workflows to v3.5.10
- kind: fixed
description: Avoid empty namespace in role binding when singleNamespace is true

View File

@ -17,7 +17,9 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ $.Values.workflow.serviceAccount.name }}
namespace: {{ $namespace }}
{{- with $namespace }}
namespace: {{ . }}
{{- end }}
{{- range $.Values.workflow.rbac.serviceAccounts }}
- kind: ServiceAccount
name: {{ .name }}