Fix file subpath
This commit is contained in:
parent
b5cdea0380
commit
aebbf3ea9f
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: softplayer-lib-workload
|
||||
description: A library to be reused accross softplayer charts
|
||||
type: library
|
||||
version: 0.1.3
|
||||
version: 0.1.4
|
||||
maintainers:
|
||||
- name: allanger
|
||||
email: allanger@badhouseplants.net
|
||||
|
@ -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) */}}
|
||||
|
Loading…
Reference in New Issue
Block a user