Revert hasPrefix

This commit is contained in:
disaster 2017-04-18 10:01:07 +00:00
parent 5ef34e0cc3
commit 18b731df4f

View File

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