fix(argo-cd): Add ServiceAccount for redis (#828)
* Add ability to create ServiceAccount for redis Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Use correct default for ServiceAccounts in _helpers.tpl Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> * Bump version and update changelog Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
1416d5e082
commit
62699ffc82
5 changed files with 42 additions and 7 deletions
|
|
@ -30,7 +30,8 @@ spec:
|
|||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: false
|
||||
automountServiceAccountToken: {{ .Values.redis.serviceAccount.automountServiceAccountToken }}
|
||||
serviceAccountName: {{ template "argo-cd.redisServiceAccountName" . }}
|
||||
{{- if .Values.redis.securityContext }}
|
||||
securityContext: {{- toYaml .Values.redis.securityContext | nindent 8 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue