File tree 5 files changed +20
-16
lines changed
5 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## 19.5.2 (2024-06-06 )
3
+ ## 19.5.3 (2024-06-12 )
4
4
5
- * [ bitnami/redis] Release 19.5.2 ([ #27012 ] ( https://github.com/bitnami/charts/pull/27012 ) )
5
+ * [ bitnami/redis] Fix sentinel PDB condition ([ #27080 ] ( https://github.com/bitnami/charts/pull/27080 ) )
6
+
7
+ ## <small >19.5.2 (2024-06-06)</small >
8
+
9
+ * [ bitnami/redis] Release 19.5.2 (#27012 ) ([ 128a592] ( https://github.com/bitnami/charts/commit/128a59210d13d4619c9c80aa0631897f0d981917 ) ), closes [ #27012 ] ( https://github.com/bitnami/charts/issues/27012 )
6
10
7
11
## <small >19.5.1 (2024-06-04)</small >
8
12
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ maintainers:
36
36
name : redis
37
37
sources :
38
38
- https://github.com/bitnami/charts/tree/main/bitnami/redis
39
- version : 19.5.2
39
+ version : 19.5.3
Original file line number Diff line number Diff line change 2
2
Copyright Broadcom, Inc. All Rights Reserved.
3
3
SPDX-License-Identifier : APACHE-2.0
4
4
*/}}
5
-
6
- {{- if and .Values.master. pdb.create (gt (int64 .Values.master.count) 0) (or (eq .Values.architecture "replication") (not .Values.sentinel.enabled)) }}
5
+ {{- $pdb := coalesce .Values.pdb .Values.master.pdb }}
6
+ {{- if and $ pdb.create (gt (int64 .Values.master.count) 0) (or (not ( eq .Values.architecture "replication") ) (not .Values.sentinel.enabled)) }}
7
7
apiVersion : {{ include "common.capabilities.policy.apiVersion" . }}
8
8
kind : PodDisruptionBudget
9
9
metadata :
@@ -15,11 +15,11 @@ metadata:
15
15
annotations : {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
16
16
{{- end }}
17
17
spec :
18
- {{- if .Values.master. pdb.minAvailable }}
19
- minAvailable : {{ .Values.master. pdb.minAvailable }}
18
+ {{- if $ pdb.minAvailable }}
19
+ minAvailable : {{ $ pdb.minAvailable }}
20
20
{{- end }}
21
- {{- if or .Values.master. pdb.maxUnavailable (not .Values.master. pdb.minAvailable)}}
22
- maxUnavailable : {{ .Values.master. pdb.maxUnavailable | default 1 }}
21
+ {{- if or $ pdb.maxUnavailable (not $ pdb.minAvailable)}}
22
+ maxUnavailable : {{ $ pdb.maxUnavailable | default 1 }}
23
23
{{- end }}
24
24
selector :
25
25
matchLabels : {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Copyright Broadcom, Inc. All Rights Reserved.
3
3
SPDX-License-Identifier : APACHE-2.0
4
4
*/}}
5
5
6
- {{- $pdb := coalesce .Values.replica. pdb .Values.pdb }}
6
+ {{- $pdb := coalesce .Values.pdb .Values.replica .pdb }}
7
7
{{- if and (eq .Values.architecture "replication") (not .Values.sentinel.enabled) $pdb.create }}
8
8
apiVersion : {{ include "common.capabilities.policy.apiVersion" . }}
9
9
kind : PodDisruptionBudget
Original file line number Diff line number Diff line change 2
2
Copyright Broadcom, Inc. All Rights Reserved.
3
3
SPDX-License-Identifier : APACHE-2.0
4
4
*/}}
5
-
6
- {{- if and (eq .Values.architecture "replication") (not .Values.sentinel.enabled) .Values.replica. pdb.create }}
5
+ {{- $pdb := coalesce .Values.pdb .Values.replica.pdb }}
6
+ {{- if and (eq .Values.architecture "replication") .Values.sentinel.enabled $ pdb.create }}
7
7
apiVersion : {{ include "common.capabilities.policy.apiVersion" . }}
8
8
kind : PodDisruptionBudget
9
9
metadata :
@@ -15,11 +15,11 @@ metadata:
15
15
annotations : {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
16
16
{{- end }}
17
17
spec :
18
- {{- if .Values.replica. pdb.minAvailable }}
19
- minAvailable : {{ .Values.replica. pdb.minAvailable }}
18
+ {{- if $ pdb.minAvailable }}
19
+ minAvailable : {{ $ pdb.minAvailable }}
20
20
{{- end }}
21
- {{- if or .Values.replica. pdb.maxUnavailable (not .Values.replica. pdb.minAvailable) }}
22
- maxUnavailable : {{ .Values.replica. pdb.maxUnavailable | default 1 }}
21
+ {{- if or $ pdb.maxUnavailable (not $ pdb.minAvailable) }}
22
+ maxUnavailable : {{ $ pdb.maxUnavailable | default 1 }}
23
23
{{- end }}
24
24
selector :
25
25
matchLabels : {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }}
You can’t perform that action at this time.
0 commit comments