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:
@@ -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 -}}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user