Commit 72b7ad50 authored by Waqar Ahmed's avatar Waqar Ahmed

Add support for environment variables

parent 9e3834c5
......@@ -31,3 +31,10 @@ spec:
- {{ . | quote}}
{{- end }}
{{- end }}
{{- if .Values.container.environment_variables }}
env:
{{- range .Values.container.environment_variables }}
- name: {{ .name | quote }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
# Default values for mychart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Default values for ix-chart.
replicaCount: 1
......@@ -18,3 +16,4 @@ fullnameOverride: ""
container:
command: []
args: []
environment_variables: []
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment