Skip to content

Commit 0c98997

Browse files
authored
Merge pull request #421 from hookdeck/fix/helm-imagepullsecrets
fix: Use outpost.imagePullSecrets value in Helm chart
2 parents 6f8aada + 6a2078f commit 0c98997

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

deployments/kubernetes/charts/outpost/templates/outpost-deployment.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ spec:
1616
app: outpost-api
1717
{{- include "outpost.labels" . | nindent 8 }}
1818
spec:
19+
{{- with .Values.outpost.imagePullSecrets }}
20+
imagePullSecrets:
21+
{{- toYaml . | nindent 8 }}
22+
{{- end }}
1923
containers:
2024
- name: {{ include "outpost.name" . }}-api
2125
image: {{ .Values.outpost.image.repository }}:{{ .Values.outpost.image.tag }}
@@ -64,6 +68,10 @@ spec:
6468
app: outpost-delivery
6569
{{- include "outpost.labels" . | nindent 8 }}
6670
spec:
71+
{{- with .Values.outpost.imagePullSecrets }}
72+
imagePullSecrets:
73+
{{- toYaml . | nindent 8 }}
74+
{{- end }}
6775
containers:
6876
- name: {{ include "outpost.name" . }}-delivery
6977
image: {{ .Values.outpost.image.repository }}:{{ .Values.outpost.image.tag }}
@@ -100,6 +108,10 @@ spec:
100108
app: outpost-log
101109
{{- include "outpost.labels" . | nindent 8 }}
102110
spec:
111+
{{- with .Values.outpost.imagePullSecrets }}
112+
imagePullSecrets:
113+
{{- toYaml . | nindent 8 }}
114+
{{- end }}
103115
containers:
104116
- name: {{ include "outpost.name" . }}-log
105117
image: {{ .Values.outpost.image.repository }}:{{ .Values.outpost.image.tag }}

0 commit comments

Comments
 (0)