mirror of
https://github.com/truenas/charts.git
synced 2026-04-13 16:39:48 +08:00
Fix a bug when using non host mounts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{/*
|
||||
Retrieve host path from ix volumes based on dataset name
|
||||
*/}}
|
||||
{{- define "retrieveDataPathFromiXVolume" -}}
|
||||
{{- define "retrieveHostPathFromiXVolume" -}}
|
||||
{{- range $index, $hostPathConfiguration := $.ixVolumes }}
|
||||
{{- $dsName := base $hostPathConfiguration.hostPath -}}
|
||||
{{- if eq $.datasetName $dsName -}}
|
||||
|
||||
Reference in New Issue
Block a user