Commit 556bd1d7 authored by Kris Moore's avatar Kris Moore

Fix a bug when using non host mounts

parent e5a7976b
{{/* {{/*
Retrieve host path from ix volumes based on dataset name Retrieve host path from ix volumes based on dataset name
*/}} */}}
{{- define "retrieveDataPathFromiXVolume" -}} {{- define "retrieveHostPathFromiXVolume" -}}
{{- range $index, $hostPathConfiguration := $.ixVolumes }} {{- range $index, $hostPathConfiguration := $.ixVolumes }}
{{- $dsName := base $hostPathConfiguration.hostPath -}} {{- $dsName := base $hostPathConfiguration.hostPath -}}
{{- if eq $.datasetName $dsName -}} {{- if eq $.datasetName $dsName -}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment