mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 22:40:12 +01:00
feat(helm): Allow specifying path to zfs binary (#383)
* Allow specifying path to zfs binary Some linux/UNIX distributions, do not follow standard path conventions. The driver currently assumes the zfs binary is in /sbin or /usr/sbin, but on NixOS, for example, it's in /run/current-system/sw/bin. This adds an option to specify the directory manually. * Bump chart version Signed-off-by: Travis Athougies <travis@athougies.net>
This commit is contained in:
parent
5ebd8a7c18
commit
95428184cc
3 changed files with 6 additions and 2 deletions
|
|
@ -13,5 +13,5 @@ data:
|
|||
elif [ -x /host/usr/sbin/zfs ]; then
|
||||
chroot /host /usr/sbin/zfs "$@"
|
||||
else
|
||||
chroot /host zfs "$@"
|
||||
chroot /host "{{ .Values.zfs.bin }}" "$@"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue