Skip to content

Commit cd5d465

Browse files
authored
fix (#848)
1 parent 1c7b828 commit cd5d465

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

infra/helm/meshdb/templates/meshweb.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ metadata:
77
{{- include "meshdb.labels" . | nindent 4 }}
88
spec:
99
replicas: 3
10-
{{- if .Values.imageCredentials }}
11-
imagePullSecrets:
12-
- name: pull-secret
13-
{{- end }}
1410
selector:
1511
matchLabels:
1612
{{- include "meshdb.selectorLabels" . | nindent 6 }}
@@ -31,6 +27,10 @@ spec:
3127
spec:
3228
securityContext:
3329
{{- toYaml .Values.meshweb.podSecurityContext | nindent 8 }}
30+
{{- if .Values.imageCredentials }}
31+
imagePullSecrets:
32+
- name: pull-secret
33+
{{- end }}
3434
containers:
3535
- name: {{ .Chart.Name }}-meshweb
3636
securityContext:

infra/helm/meshdb/templates/nginx.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ spec:
2828
spec:
2929
securityContext:
3030
{{- toYaml .Values.nginx.podSecurityContext | nindent 8 }}
31+
{{- if .Values.imageCredentials }}
32+
imagePullSecrets:
33+
- name: pull-secret
34+
{{- end }}
3135
containers:
3236
- name: {{ .Chart.Name }}-nginx
3337
securityContext:

infra/helm/meshdb/templates/pelias.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ spec:
2727
spec:
2828
securityContext:
2929
{{- toYaml .Values.pelias.podSecurityContext | nindent 8 }}
30+
{{- if .Values.imageCredentials }}
31+
imagePullSecrets:
32+
- name: pull-secret
33+
{{- end }}
3034
containers:
3135
- name: {{ .Chart.Name }}-pelias
3236
securityContext:

infra/helm/meshdb/templates/postgres.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
spec:
3030
securityContext:
3131
{{- toYaml .Values.pg.podSecurityContext | nindent 8 }}
32+
{{- if .Values.imageCredentials }}
33+
imagePullSecrets:
34+
- name: pull-secret
35+
{{- end }}
3236
containers:
3337
- name: {{ .Chart.Name }}-postgres
3438
securityContext:

infra/helm/meshdb/templates/redis.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ spec:
4040
spec:
4141
securityContext:
4242
{{- toYaml .Values.redis.podSecurityContext | nindent 8 }}
43+
{{- if .Values.imageCredentials }}
44+
imagePullSecrets:
45+
- name: pull-secret
46+
{{- end }}
4347
containers:
4448
- name: {{ .Chart.Name }}-redis
4549
securityContext:

0 commit comments

Comments
 (0)