Revert hasPrefix

This commit is contained in:
disaster 2017-04-19 07:42:55 +00:00
parent 18b731df4f
commit 93df11c1fa

View File

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