Commit f9459f88 authored by Waqar Ahmed's avatar Waqar Ahmed

Bug fix for specifying env variable for ipfs chart

parent 3e10661c
...@@ -103,10 +103,13 @@ spec: ...@@ -103,10 +103,13 @@ spec:
containerPort: 9501 containerPort: 9501
- name: gateway - name: gateway
containerPort: 9880 containerPort: 9880
{{- if .Values.environment }}
env:
{{- range $key, $val := .Values.environment }} {{- range $key, $val := .Values.environment }}
- name: {{ $key }} - name: {{ $key }}
value: {{ $val | quote }} value: {{ $val | quote }}
{{- end}} {{- end}}
{{- end }}
volumes: volumes:
- name: data - name: data
{{- if .Values.emptyDirVolumes }} {{- if .Values.emptyDirVolumes }}
......
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