Forráskód Böngészése

Bug fix for specifying env variable for ipfs chart

Waqar Ahmed 4 éve
szülő
commit
f9459f88b0
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      test/ipfs/1.0.1/templates/deployment.yaml

+ 3 - 0
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 }}