fix(argo-workflows): Avoid "namespace: null" when singleNamespace is true (#1154)
Signed-off-by: darklore <zodiac.brave.story@gmail.com>
This commit is contained in:
parent
326d87a70c
commit
d30d85060e
2 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argo-workflows
|
||||
description: A Helm chart for Argo Workflows
|
||||
type: application
|
||||
version: 0.11.0
|
||||
version: 0.11.1
|
||||
appVersion: v3.2.7
|
||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
|
@ -15,4 +15,4 @@ maintainers:
|
|||
- name: benjaminws
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Added]: Workflow Controller Volumes and VolumeMounts parameters"
|
||||
- "[Fixed]: Avoid "namespace: null" when singleNamespace is true"
|
||||
|
|
|
@ -5,7 +5,9 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ template "argo-workflows.fullname" $ }}-workflow
|
||||
namespace: {{ $namespace }}
|
||||
{{- with $namespace }}
|
||||
namespace: {{ . }}
|
||||
{{- end }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
|
|
Loading…
Reference in a new issue