Skip to content
Snippets Groups Projects
Commit b81d83f6 authored by François  LAURENT's avatar François LAURENT
Browse files

fix image tag

parent 616a86dc
No related branches found
No related tags found
1 merge request!4update dev
Pipeline #148142 failed
......@@ -34,7 +34,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.front.image.repository }}:{{ .Values.front.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.front.image.repository }}:{{ .Values.front.image.sha }}"
imagePullPolicy: {{ .Values.front.image.pullPolicy }}
ports:
- name: http
......
......@@ -6,10 +6,9 @@ replicaCount: 1
front:
image:
repository: registry-gitlab.pasteur.fr/nyx/nyxui.jl/front
repository: registry-gitlab.pasteur.fr/nyx/nyxui/front
sha: ""
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
service:
targetPort: 8080
......
......@@ -8,8 +8,7 @@ front:
image:
repository: {{ requiredEnv "IMAGE_URL" }}
pullPolicy: {{ requiredEnv "IMAGE_POLICY" }}
# Overrides the image tag whose default is the chart appVersion.
tag: ""
sha: {{ requiredEnv "CI_COMMIT_SHORT_SHA" }}
service:
targetPort: {{ requiredEnv "SERVICE_TARGET_PORT" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment