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
|
|
@ -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…
Add table
Add a link
Reference in a new issue