diff --git a/test/ipfs/1.0.1/templates/deployment.yaml b/test/ipfs/1.0.1/templates/deployment.yaml index fed49db153..baa21dcc30 100644 --- a/test/ipfs/1.0.1/templates/deployment.yaml +++ b/test/ipfs/1.0.1/templates/deployment.yaml @@ -103,10 +103,13 @@ spec: containerPort: 9501 - name: gateway containerPort: 9880 + {{- if .Values.environment }} + env: {{- range $key, $val := .Values.environment }} - name: {{ $key }} value: {{ $val | quote }} {{- end}} + {{- end }} volumes: - name: data {{- if .Values.emptyDirVolumes }}