Fix file subpath

This commit is contained in:
Nikolai Rodionov 2024-05-21 10:09:11 +02:00
parent aebbf3ea9f
commit 02f726ec8d
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 2 additions and 2 deletions

View File

@ -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.4 version: 0.1.5
maintainers: maintainers:
- name: allanger - name: allanger
email: allanger@badhouseplants.net email: allanger@badhouseplants.net

View File

@ -79,7 +79,7 @@ volumeMounts:
- name: {{ printf "%s-file" $mountName }} - name: {{ printf "%s-file" $mountName }}
mountPath: {{ $mountEntry.path }} mountPath: {{ $mountEntry.path }}
{{- if $mountEntry.subPath }} {{- /* (5) */}} {{- if $mountEntry.subPath }} {{- /* (5) */}}
subPath: {{- $mountEntry.subPath }} subPath: {{ $mountEntry.subPath }}
{{- end }} {{- /* /(5) */}} {{- end }} {{- /* /(5) */}}
{{- end }} {{- /* /(4) */}} {{- end }} {{- /* /(4) */}}
{{- end }} {{- /* /(3) */}} {{- end }} {{- /* /(3) */}}