Skip to content

Commit

Permalink
force tag as string
Browse files Browse the repository at this point in the history
maxmwang committed Dec 7, 2024
1 parent 78a38d5 commit ef6d981
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infra/app/templates/backend.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: backend
image: {{ printf "%s/%s:%s" .Values.backend.image.registry .Values.backend.image.repository .Values.backend.image.tag }}
image: {{ printf "%s/%s:%s" .Values.backend.image.registry .Values.backend.image.repository ( toString .Values.backend.image.tag ) }}
imagePullPolicy: Always
ports:
- containerPort: {{ .Values.backend.port }}
2 changes: 1 addition & 1 deletion infra/app/templates/frontend.yaml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: frontend
image: {{ printf "%s/%s:%s" .Values.frontend.image.registry .Values.frontend.image.repository .Values.frontend.image.tag }}
image: {{ printf "%s/%s:%s" .Values.frontend.image.registry .Values.frontend.image.repository ( toString .Values.frontend.image.tag ) }}
imagePullPolicy: Always
ports:
- containerPort: {{ .Values.frontend.port }}
2 changes: 1 addition & 1 deletion infra/app/templates/updater.yaml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: backend-cron-job
image: {{ printf "%s/%s:%s" .Values.backend.image.registry .Values.backend.image.repository .Values.backend.image.tag }}
image: {{ printf "%s/%s:%s" .Values.backend.image.registry .Values.backend.image.repository ( toString .Values.backend.image.tag ) }}
imagePullPolicy: Always
command: {{ .Values.updater.command | toJson }}
ports:

0 comments on commit ef6d981

Please sign in to comment.