Skip to content

Commit dbf50ce

Browse files
committed
fix: Put imagePullSecrets into correct location of the helm chart
1 parent 711e465 commit dbf50ce

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

charts/opencrvs-services/templates/countryconfig-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ spec:
7575
app: countryconfig
7676
service_name: opencrvs_countryconfig
7777
spec:
78+
{{- with .Values.imagePullSecrets }}
79+
imagePullSecrets:
80+
{{- toYaml . | nindent 8 }}
81+
{{- end }}
7882
containers:
7983
- name: countryconfig
8084
image: "{{ .Values.countryconfig.image.name }}:{{ .Values.countryconfig.image.tag }}"
@@ -137,10 +141,6 @@ spec:
137141
name: public-key
138142
subPath: public-key.pem
139143
restartPolicy: Always
140-
{{- with .Values.imagePullSecrets }}
141-
imagePullSecrets:
142-
{{- toYaml . | nindent 8 }}
143-
{{- end }}
144144
volumes:
145145
- configMap:
146146
items:

charts/opencrvs-services/templates/postgres-on-update-analytics-job.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ spec:
2121
labels:
2222
app: postgres-on-update-analytics
2323
spec:
24+
{{- with .Values.imagePullSecrets }}
25+
imagePullSecrets:
26+
{{- toYaml . | nindent 8 }}
27+
{{- end }}
2428
initContainers:
2529
- name: copy-assets
2630
image: "{{ .Values.countryconfig.image.name }}:{{ .Values.countryconfig.image.tag }}-assets"

0 commit comments

Comments
 (0)