diff --git a/templates/gocd/0/docker-compose.yml.tpl b/templates/gocd/0/docker-compose.yml.tpl index 91017bb..aa37a7a 100644 --- a/templates/gocd/0/docker-compose.yml.tpl +++ b/templates/gocd/0/docker-compose.yml.tpl @@ -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