Skip to content

Commit

Permalink
Inject helm chart version
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Oct 10, 2023
1 parent ac5d761 commit f561a4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-chart/templates/deployment-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ spec:
image: "{{ .Values.web.image.repository }}:{{ .Values.web.image.tag }}"
imagePullPolicy: {{ .Values.web.image.pullPolicy }}
env:
- name: ONYXIA_VERSION
value: "{{ .Chart.Version }}"
- name: ONYXIA_VERSION_URL
value: "https://github.com/InseeFrLab/onyxia/releases/tag/v{{ .Chart.Version }}"
{{- if .Values.web.env }}
{{- range $key, $value := .Values.web.env }}
- name: {{ $key }}
Expand Down

0 comments on commit f561a4b

Please sign in to comment.