mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +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
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v2
|
||||
name: zfs-localpv
|
||||
description: Helm chart for CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. For instructions on how to use this helm chart, see - https://openebs.github.io/zfs-localpv/
|
||||
version: 1.9.5
|
||||
version: 1.9.6
|
||||
appVersion: 1.9.1
|
||||
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
|
||||
home: http://www.openebs.io/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -156,3 +156,7 @@ serviceAccount:
|
|||
|
||||
analytics:
|
||||
enabled: true
|
||||
zfs:
|
||||
# If you use a non-standard path to the zfs binary, specify it here
|
||||
# bin: /run/current-system/sw/bin/zfs
|
||||
bin: zfs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue