Fix volume on template

This commit is contained in:
disaster37 2017-04-08 18:01:56 +00:00
parent e8448ceb81
commit d839a31421

View File

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