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
parent
d89333a6b8
commit
b5fcbe23c8
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue