[simple-app-helm] add APP_VERSION env

This commit is contained in:
2023-04-03 10:34:09 +07:00
parent cc58eef44f
commit eaa6c868e5

View File

@@ -25,6 +25,9 @@ spec:
ports: ports:
- name: web - name: web
containerPort: 80 containerPort: 80
env:
- name: APP_VERSION
value: {{ .Values.image.tag | default .Chart.AppVersion }}
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30