Skip to content

Commit

Permalink
add env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed May 23, 2024
1 parent 5b1ac49 commit 41723b8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions charts/multi-arch-container-rust/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
env:
- name: "GIT_REPOSITORY"
value: {{ .Values.git.repository | default "" | quote }}
- name: "GIT_BRANCH"
value: {{ .Values.git.branch | default "" | quote }}
- name: "GIT_COMMIT"
value: {{ .Values.git.commit | default "" | quote }}
- name: "GIT_TAG"
value: {{ .Values.image.tag | default .Chart.AppVersion }}
- name: "GITHUB_WORKFLOW"
value: {{ .Values.github.workflow | default "" | quote }}
- name: "GITHUB_RUN_ID"
value: {{ .Values.github.run_id | int64 | default 0 | quote }}
- name: "GITHUB_RUN_NUMBER"
value: {{ .Values.github.run_number | int64 | default 0 | quote }}
livenessProbe:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
Expand Down

0 comments on commit 41723b8

Please sign in to comment.