From 4d2d3104a845ee4d3cc7e70dd25689e1c3692c7f Mon Sep 17 00:00:00 2001 From: NyxErinys Date: Tue, 26 May 2026 06:40:09 -0500 Subject: [PATCH] fix acls --- hosts/servers/poseidon/shares.nix | 1 + modules/k3s/deployments/ubuntu-test.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/hosts/servers/poseidon/shares.nix b/hosts/servers/poseidon/shares.nix index cf4a990..f8562f0 100644 --- a/hosts/servers/poseidon/shares.nix +++ b/hosts/servers/poseidon/shares.nix @@ -68,6 +68,7 @@ in { wwn = "${nasBase}.${t.name}"; tpgs = [{ enable = true; + generate_node_acls = true; portals = [ { ip_address = "0.0.0.0"; diff --git a/modules/k3s/deployments/ubuntu-test.nix b/modules/k3s/deployments/ubuntu-test.nix index 8504210..26c636d 100644 --- a/modules/k3s/deployments/ubuntu-test.nix +++ b/modules/k3s/deployments/ubuntu-test.nix @@ -17,6 +17,15 @@ name = "test"; subPath = "ubuntu-test"; } + { + mountPath = "/test2"; + name = "iscsi"; + } + # { + # mountPath = "/test3"; + # name = "iscsi"; + # subPath = "ubuntu-test"; + # } ]; } ]; @@ -27,6 +36,16 @@ claimName = "nfs-main-pvc"; }; } + { + name = "iscsi"; + iscsi = { + targetPortal = "poseidon.nyxerinys.dev:3260"; + iqn = "iqn.2026-01.dev.nyxerinys:poseidon.authentik"; + lun = 0; + fsType = "xfs"; + readOnly = false; + }; + } ]; }; }