CI_COMMIT_SHORT_SHA [source]
deployment looks like that:
...
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
...
Project Structure
.
βββ README.md
βββ helmwave.yml.tpl
βββ values.yml
helmwave.yml.tpl
project: my-project # ΠΠΌΡ ΠΏΡΠΎΠ΅ΠΊΡΠ°
version: 0.1.6 # ΠΠ΅ΡΡΠΈΡ helmwave
releases:
- name: my-release
chart: my-chart-repo/my-app
values:
- values.yml
options:
install: true
namespace: my-namespace
values.yml
image:
tag: {{ env "CI_COMMIT_TAG" }}
podAnnotations:
gitCommit: {{ requiredEnv "CI_COMMIT_SHORT_SHA" | quote }}