Revert hasPrefix

This commit is contained in:
disaster 2017-04-19 07:48:15 +00:00
parent 701e7f4d15
commit 4996ee24bb

View File

@ -5,7 +5,7 @@ services:
tty: true
image: webcenter/alpine-gocd-server:17.3.0-1
volumes:
{{- if call hasPrefix .Values.VOLUME_DRIVER_SERVER "/" }}
{{- if call strings.HasPrefix .Values.VOLUME_DRIVER_SERVER "/" }}
- /data/gocd-test:/data
{{- else}}
- gocd-server-data:/data