Revert hasPrefix
This commit is contained in:
parent
701e7f4d15
commit
4996ee24bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user