Skip to content

Commit fbb7e87

Browse files
Cleanup
Signed-off-by: Tom Billiet <[email protected]>
1 parent ea48b8c commit fbb7e87

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

charts/zookeeper/templates/post-install-upgrade-hooks.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ roleRef:
3838

3939
apiVersion: v1
4040
kind: ServiceAccount
41-
{{- if .Values.global.imagePullSecrets }}
41+
{{- if or .Values.global.imagePullSecrets .Values.serviceAccount.imagePullSecrets }}
4242
imagePullSecrets:
43-
{{- range .Values.global.imagePullSecrets }}
43+
{{- range (default .Values.global.imagePullSecrets .Values.serviceAccount.imagePullSecrets) }}
4444
- name: {{ . }}
4545
{{- end }}
4646
{{- end }}

charts/zookeeper/values.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
replicas: 3
22
maxUnavailableReplicas:
33

4+
global:
5+
# Lists the secrets you need to use to pull zookeeper image from a private registry.
6+
imagePullSecrets: []
7+
# - private-registry-key
8+
49
image:
510
repository: pravega/zookeeper
611
tag: 0.2.15
712
pullPolicy: IfNotPresent
813

914
triggerRollingRestart: false
1015

11-
global:
12-
# Lists the secrets you need to use to pull zookeeper image from a private registry.
13-
imagePullSecrets: []
14-
# - private-registry-key
15-
1616
domainName:
1717
labels: {}
1818
ports: []

0 commit comments

Comments
 (0)