[argo-events] v0.11 update (#162)

* Updating for events 0.11

* Adding note to the README about how to install CRDs from github

* Fixing handling of serviceAccount variable inside of loops
This commit is contained in:
Andrew Suderman 2019-11-14 15:20:55 -07:00 committed by John Behling
parent ca5d1d7078
commit 6457037391
6 changed files with 25 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# All argo-events services are bound to the "argo-events" service account.
# All argo-events services are bound to the "argo-events" service account.
# In RBAC enabled setups, this SA is bound to specific roles.
apiVersion: v1
kind: ServiceAccount
@ -6,12 +6,13 @@ metadata:
name: {{ .Values.serviceAccount }}
namespace: {{ .Release.Namespace }}
{{- if .Values.additionalSaNamespaces }}
{{ $sa := .Values.serviceAccount }}
{{- range $namespace := .Values.additionalSaNamespaces }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount }}
name: {{ $sa }}
namespace: {{ $namespace }}
{{- end }}
{{- end }}
{{- end }}