Skip to content

Commit 9599932

Browse files
masonCheinTian
authored andcommitted
fix: fix portal image pull policy incorrect
1 parent 6f309e2 commit 9599932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/csghub/templates/deployment-portal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ spec:
4848
initContainers:
4949
- name: wait-for-server
5050
image: {{ include "image.fixed.prefix" (list . "busybox:latest") }}
51-
imagePullPolicy: {{ or .Values.csghub.server.image.pullPolicy .Values.global.image.pullPolicy }}
51+
imagePullPolicy: {{ or .Values.csghub.portal.image.pullPolicy .Values.global.image.pullPolicy }}
5252
command: [ "/bin/sh", "-c", "until nc -z {{ include "common.names.custom" (list . "server") }} {{ include "csghub.svc.port" "server" }}; do echo 'Wait for csghub-server to be ready'; sleep 2; done" ]
5353
containers:
5454
- name: portal
5555
{{- $tag := include "csghub.image.tag" (dict "tag" (or .Values.csghub.portal.image.tag .Values.global.image.tag) "context" .) }}
5656
{{- $_ := set .Values.csghub.portal.image "tag" $tag }}
5757
image: {{ include "image.generic.prefix" (list . .Values.csghub.portal.image) }}
58-
imagePullPolicy: {{ or .Values.csghub.server.image.pullPolicy .Values.global.image.pullPolicy }}
58+
imagePullPolicy: {{ or .Values.csghub.portal.image.pullPolicy .Values.global.image.pullPolicy }}
5959
command: [ "/bin/sh", "-c", "./csghub-portal migration init && ./csghub-portal migration migrate && ./csghub-portal db seed && ./csghub-portal start server" ]
6060
ports:
6161
- containerPort: 8090

0 commit comments

Comments
 (0)