瀏覽代碼

Make CI happy

Kris Moore 4 年之前
父節點
當前提交
da3cecaa3f
共有 1 個文件被更改,包括 6 次插入6 次删除
  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 }}