[bitnami/redis] Add automountServiceAccountToken in pod specs (#17175)

* Add automountServiceAccountToken in pod specs

Signed-off-by: Christoph Girstenbrei <Christoph.Girstenbrei@gmail.com>

* Bump chart version

Signed-off-by: Christoph Girstenbrei <Christoph.Girstenbrei@gmail.com>

---------

Signed-off-by: Christoph Girstenbrei <Christoph.Girstenbrei@gmail.com>
This commit is contained in:
Christoph Girstenbrei
2023-06-19 10:39:17 +02:00
committed by GitHub
parent 5327076018
commit d42df3014f
4 changed files with 4 additions and 1 deletions

View File

@@ -22,4 +22,4 @@ maintainers:
name: redis
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redis
version: 17.11.5
version: 17.11.6

View File

@@ -65,6 +65,7 @@ spec:
securityContext: {{- omit .Values.master.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "redis.masterServiceAccountName" . }}
automountServiceAccountToken: {{ .Values.master.serviceAccount.automountServiceAccountToken }}
{{- if .Values.master.priorityClassName }}
priorityClassName: {{ .Values.master.priorityClassName | quote }}
{{- end }}

View File

@@ -64,6 +64,7 @@ spec:
securityContext: {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
serviceAccountName: {{ template "redis.replicaServiceAccountName" . }}
automountServiceAccountToken: {{ .Values.replica.serviceAccount.automountServiceAccountToken }}
{{- if .Values.replica.priorityClassName }}
priorityClassName: {{ .Values.replica.priorityClassName | quote }}
{{- end }}

View File

@@ -68,6 +68,7 @@ spec:
{{- if .Values.replica.podSecurityContext.enabled }}
securityContext: {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
serviceAccountName: {{ template "redis.serviceAccountName" . }}
{{- if .Values.replica.priorityClassName }}
priorityClassName: {{ .Values.replica.priorityClassName | quote }}