From 8cc98e4f32656603cd683e98f34d3e88b9737513 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 9 Jul 2024 08:54:09 -0500 Subject: [PATCH] Update paths for NixOS. --- .../democratic-csi/app/helmrelease.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kubernetes/apps/democratic-csi/democratic-csi/app/helmrelease.yaml b/kubernetes/apps/democratic-csi/democratic-csi/app/helmrelease.yaml index b064ca0d..a933a71c 100644 --- a/kubernetes/apps/democratic-csi/democratic-csi/app/helmrelease.yaml +++ b/kubernetes/apps/democratic-csi/democratic-csi/app/helmrelease.yaml @@ -76,14 +76,14 @@ spec: zfs: # can be used to override defaults if necessary - # the example below is useful for TrueNAS 12 - #cli: - # sudoEnabled: true - # paths: - # zfs: /usr/local/sbin/zfs - # zpool: /usr/local/sbin/zpool - # sudo: /usr/local/bin/sudo - # chroot: /usr/sbin/chroot + # the example below is useful for NixOS + cli: + sudoEnabled: true + paths: + zfs: /run/current-system/sw/bin/zfs + zpool: /run/current-system/sw/bin/zpool + sudo: /run/wrappers/bin/sudo + chroot: /run/current-system/sw/bin/chroot # can be used to set arbitrary values on the dataset/zvol # can use handlebars templates with the parameters from the storage class/CO