Fix a bug when using non host mounts

This commit is contained in:
Kris Moore
2021-01-23 11:38:08 -05:00
parent e5a7976ba5
commit 556bd1d7f5

View File

@@ -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 -}}