Tweak command.
All checks were successful
ci/woodpecker/push/piper Pipeline was successful

This commit is contained in:
Alex Manning 2023-07-06 20:28:21 +01:00
parent fbcf8a2bcf
commit d5722edd95

View file

@ -24,19 +24,22 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{ if .Values.downloadVoices }}
{{- if .Values.downloadVoices }}
initContainers:
- name: download-voices
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: registry.fedoraproject.org/fedora-minimal
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: curl --remote-name-all {{ join " " .Values.downloadVoices }}
command:
- "curl"
- "--remote-name-all"
{{ .Values.downloadVoices | toYaml }}
workingDir: /data
volumeMounts:
- name: data
mountPath: /data
{{ end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext: