Make host and container devicePath the same. (#356)

* Make host and container devicePath the same.

* update Common and Common-test versions
This commit is contained in:
Kjeld Schouten-Lebbing
2021-04-15 14:38:34 +02:00
committed by GitHub
parent 4d21cc66e2
commit 70bac7a29e
8 changed files with 25 additions and 37 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: common
version: 3.0.3
version: 3.0.4
# upstream_version:
appVersion: none
description: Function library for TrueCharts
@@ -20,7 +20,7 @@ Volumes included by the controller.
{{ $name = $dmm.name }}
{{ end }}
- name: devicemount-{{ $name }}
mountPath: {{ $dmm.mountPath }}
mountPath: {{ $dmm.devicePath }}
{{ if $dmm.subPath }}
subPath: {{ $dmm.subPath }}
{{ end }}
@@ -57,7 +57,7 @@ Volumes included by the controller.
emptyDir: {}
{{- else -}}
hostPath:
path: {{ required "hostPath not set" $dm.hostPath }}
path: {{ required "hostPath not set" $dm.devicePath }}
{{ end }}
{{ end }}
{{- end -}}
+3 -9
View File
@@ -296,24 +296,18 @@ PGID: 568
UMASK: "002"
fixMountPermissions: true
# appVolumeMounts:
# deviceMounts:
# config:
# enabled: false
# emptyDir: false
# datasetName: "config"
# mountPath: "/config"
# subPath: some-subpath
# hostPathEnabled: false
# hostPath: ""
# hostPath: "/config"
# setPermissions: true
# additionalAppVolumeMounts:
# customStorage:
# - name: "data"
# enabled: false
# emptyDir: false
# datasetName: "data"
# mountPath: "/data"
# subPath: some-subpath
# hostPathEnabled: false
# hostPath: ""
# setPermissions: true