Fix file subpath

This commit is contained in:
2024-05-21 10:05:36 +02:00
parent b5cdea0380
commit aebbf3ea9f
2 changed files with 4 additions and 1 deletions

View File

@ -78,6 +78,9 @@ volumeMounts:
{{- range $mountName, $mountEntry := $mountData }} {{- /* (4) */}}
- name: {{ printf "%s-file" $mountName }}
mountPath: {{ $mountEntry.path }}
{{- if $mountEntry.subPath }} {{- /* (5) */}}
subPath: {{- $mountEntry.subPath }}
{{- end }} {{- /* /(5) */}}
{{- end }} {{- /* /(4) */}}
{{- end }} {{- /* /(3) */}}
{{- if eq $mountKind "extraVolumes" }} {{- /* (3) */}}