feat: Add securityContext. Fixes #96 (#185)

* make securityContext optional
* add docs
* bump chart version
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
David J. M. Karlsen 2019-12-16 03:55:09 +01:00 committed by Sean Johnson
parent 78f4b788da
commit c1f6ed45f5
7 changed files with 18 additions and 1 deletions

View file

@ -35,6 +35,9 @@ spec:
{{- toYaml .Values.controller.podLabels | nindent 8 }}
{{- end }}
spec:
{{- if .Values.global.securityContext }}
securityContext: {{- toYaml .Values.global.securityContext | nindent 8 }}
{{- end }}
containers:
- command:
- argocd-application-controller