Skip to content

Commit 3b4a957

Browse files
committed
[FIX] use dev image if there are PRs
1 parent a67c096 commit 3b4a957

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

charts/adhoc-odoo/v0.2.9/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ spec:
5353
securityContext:
5454
{{- toYaml . | nindent 12 }}
5555
{{- end }}
56+
{{- if .Values.odoo.entrypoint.repos }}
57+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}.dev"
58+
{{- else }}
5659
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
60+
{{- end }}
5761
imagePullPolicy: {{ .Values.image.pullPolicy }}
5862
{{- if .Values.adhoc.devMode }}
5963
args:

0 commit comments

Comments
 (0)