Fix file subpath
This commit is contained in:
parent
b5cdea0380
commit
aebbf3ea9f
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: softplayer-lib-workload
|
name: softplayer-lib-workload
|
||||||
description: A library to be reused accross softplayer charts
|
description: A library to be reused accross softplayer charts
|
||||||
type: library
|
type: library
|
||||||
version: 0.1.3
|
version: 0.1.4
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: allanger
|
- name: allanger
|
||||||
email: allanger@badhouseplants.net
|
email: allanger@badhouseplants.net
|
||||||
|
@ -78,6 +78,9 @@ volumeMounts:
|
|||||||
{{- range $mountName, $mountEntry := $mountData }} {{- /* (4) */}}
|
{{- range $mountName, $mountEntry := $mountData }} {{- /* (4) */}}
|
||||||
- name: {{ printf "%s-file" $mountName }}
|
- name: {{ printf "%s-file" $mountName }}
|
||||||
mountPath: {{ $mountEntry.path }}
|
mountPath: {{ $mountEntry.path }}
|
||||||
|
{{- if $mountEntry.subPath }} {{- /* (5) */}}
|
||||||
|
subPath: {{- $mountEntry.subPath }}
|
||||||
|
{{- end }} {{- /* /(5) */}}
|
||||||
{{- end }} {{- /* /(4) */}}
|
{{- end }} {{- /* /(4) */}}
|
||||||
{{- end }} {{- /* /(3) */}}
|
{{- end }} {{- /* /(3) */}}
|
||||||
{{- if eq $mountKind "extraVolumes" }} {{- /* (3) */}}
|
{{- if eq $mountKind "extraVolumes" }} {{- /* (3) */}}
|
||||||
|
Loading…
Reference in New Issue
Block a user