Explorar o código

Make CI happy

Kris Moore %!s(int64=4) %!d(string=hai) anos
pai
achega
da3cecaa3f
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      charts/ipfs/1.0.0/templates/deployment.yaml

+ 6 - 6
charts/ipfs/1.0.0/templates/deployment.yaml

@@ -109,16 +109,16 @@ spec:
             {{- end}}
       volumes:
         - name: data
-        {{- if ne (include "configuredHostPathData" .) "" }}
+        {{- if .Values.emptyDirVolumes }}
+          emptyDir: {}
+        {{- else }}
           hostPath:
             path: {{ template "configuredHostPathData" . }}
-        {{- else }}
-          emptyDir: {}
         {{- end }}
         - name: staging
-        {{- if ne (include "configuredHostPathStaging" .) "" }}
+        {{- if .Values.emptyDirVolumes }}
+          emptyDir: {}
+        {{- else }}
           hostPath:
             path: {{ template "configuredHostPathStaging" . }}
-        {{- else }}
-          emptyDir: {}
         {{- end }}