Skip to content

Commit d42df30

Browse files
authoredJun 19, 2023
[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>
1 parent 5327076 commit d42df30

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed
 

‎bitnami/redis/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ maintainers:
2222
name: redis
2323
sources:
2424
- https://github.com/bitnami/charts/tree/main/bitnami/redis
25-
version: 17.11.5
25+
version: 17.11.6

‎bitnami/redis/templates/master/application.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ spec:
6565
securityContext: {{- omit .Values.master.podSecurityContext "enabled" | toYaml | nindent 8 }}
6666
{{- end }}
6767
serviceAccountName: {{ template "redis.masterServiceAccountName" . }}
68+
automountServiceAccountToken: {{ .Values.master.serviceAccount.automountServiceAccountToken }}
6869
{{- if .Values.master.priorityClassName }}
6970
priorityClassName: {{ .Values.master.priorityClassName | quote }}
7071
{{- end }}

‎bitnami/redis/templates/replicas/statefulset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ spec:
6464
securityContext: {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
6565
{{- end }}
6666
serviceAccountName: {{ template "redis.replicaServiceAccountName" . }}
67+
automountServiceAccountToken: {{ .Values.replica.serviceAccount.automountServiceAccountToken }}
6768
{{- if .Values.replica.priorityClassName }}
6869
priorityClassName: {{ .Values.replica.priorityClassName | quote }}
6970
{{- end }}

‎bitnami/redis/templates/sentinel/statefulset.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ spec:
6868
{{- if .Values.replica.podSecurityContext.enabled }}
6969
securityContext: {{- omit .Values.replica.podSecurityContext "enabled" | toYaml | nindent 8 }}
7070
{{- end }}
71+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
7172
serviceAccountName: {{ template "redis.serviceAccountName" . }}
7273
{{- if .Values.replica.priorityClassName }}
7374
priorityClassName: {{ .Values.replica.priorityClassName | quote }}

0 commit comments

Comments
 (0)
Please sign in to comment.