Add environment variables support to deployment template
All checks were successful
Helm Chart Build and Publish / build-and-publish (push) Successful in 10s
All checks were successful
Helm Chart Build and Publish / build-and-publish (push) Successful in 10s
This commit is contained in:
@ -47,6 +47,7 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
env: {{ toYaml .Values.env | nindent 12 }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
|
Reference in New Issue
Block a user