Skip to content

Commit

Permalink
Merge pull request #622 from InseeFrLab/inject-helm-chart-version
Browse files Browse the repository at this point in the history
Inject helm chart version
  • Loading branch information
garronej authored Oct 10, 2023
2 parents 986d204 + f561a4b commit fb604b7
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 fb604b7

Please sign in to comment.