Revert hasPrefix

This commit is contained in:
disaster 2017-04-19 07:45:48 +00:00
parent 93df11c1fa
commit 701e7f4d15

View File

@ -6,7 +6,7 @@ services:
image: webcenter/alpine-gocd-server:17.3.0-1
volumes:
{{- if call hasPrefix .Values.VOLUME_DRIVER_SERVER "/" }}
- ${VOLUME_DRIVER_SERVER}:/data
- /data/gocd-test:/data
{{- else}}
- gocd-server-data:/data
{{- end}}