Skip to content

Commit bf435ef

Browse files
authoredJan 29, 2024··
fix(redis): fix standalone redis missing service account (#22747)
Since 18.8.3 (#22716) no service account is created with architecture set to standalone. In this case the serviceaccount and application condition didn't match for master (instead the condition for replicas was used for the master service account). Signed-off-by: Wout Van De Wiel <vandewiel.wout@gmail.com>
1 parent c72da80 commit bf435ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎bitnami/redis/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ maintainers:
3434
name: redis
3535
sources:
3636
- https://github.com/bitnami/charts/tree/main/bitnami/redis
37-
version: 18.9.0
37+
version: 18.9.1

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Copyright VMware, Inc.
33
SPDX-License-Identifier: APACHE-2.0
44
*/}}
55

6-
{{- if and .Values.master.serviceAccount.create (eq .Values.architecture "replication") (not .Values.sentinel.enabled) }}
6+
{{- if and .Values.master.serviceAccount.create (or (not (eq .Values.architecture "replication")) (not .Values.sentinel.enabled)) }}
77
apiVersion: v1
88
kind: ServiceAccount
99
automountServiceAccountToken: {{ .Values.master.serviceAccount.automountServiceAccountToken }}

0 commit comments

Comments
 (0)
Please sign in to comment.