Browse Source

Make CI happy

Kris Moore 4 years ago
parent
commit
da3cecaa3f
1 changed files with 6 additions and 6 deletions
  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 }}