File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed
Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ Define redis cluster shardingSpec with ComponentDefinition.
2424 serviceType: LoadBalancer
2525 podService: true
2626 {{- include " kblib.loadBalancerAnnotations" . | indent 4 }}
27- {{- end }}
2827 env:
29- {{- if .Values.emptyDefaultPassword }}
30- - name: REDIS_DEFAULT_PASSWORD
31- value: " "
32- {{- end }}
33- {{- if and .Values.loadBalancerEnabled (not .Values.fixedPodIPEnabled ) (not .Values.hostNetworkEnabled ) (not .Values.nodePortEnabled ) }}
34- - name: LOAD_BALANCER_ENABLED
35- value: " true"
36- {{- end }}
28+ - name: LOAD_BALANCER_ENABLED
29+ value: " true"
30+ {{- end }}
3731 {{- if and .Values.fixedPodIPEnabled (not .Values.nodePortEnabled ) (not .Values.hostNetworkEnabled ) (not .Values.loadBalancerEnabled ) }}
32+ env:
3833 - name: FIXED_POD_IP_ENABLED
3934 value: " true"
4035 {{- end }}
@@ -106,10 +101,6 @@ Define redis ComponentSpec with ComponentDefinition.
106101 - name: LOAD_BALANCER_ENABLED
107102 value: " true"
108103 {{- end }}
109- {{- if .Values.emptyDefaultPassword }}
110- - name: REDIS_DEFAULT_PASSWORD
111- value: " "
112- {{- end }}
113104 serviceVersion: {{ .Values.version }}
114105 {{- if and .Values.customSecretName .Values.customSecretNamespace }}
115106 systemAccounts:
Original file line number Diff line number Diff line change @@ -105,7 +105,3 @@ extra:
105105
106106prometheus :
107107 enabled : false
108-
109- emptyDefaultPassword : false
110-
111-
You can’t perform that action at this time.
0 commit comments