fix acls
This commit is contained in:
parent
47e13918e7
commit
4d2d3104a8
2 changed files with 20 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ in {
|
||||||
wwn = "${nasBase}.${t.name}";
|
wwn = "${nasBase}.${t.name}";
|
||||||
tpgs = [{
|
tpgs = [{
|
||||||
enable = true;
|
enable = true;
|
||||||
|
generate_node_acls = true;
|
||||||
portals = [
|
portals = [
|
||||||
{
|
{
|
||||||
ip_address = "0.0.0.0";
|
ip_address = "0.0.0.0";
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,15 @@
|
||||||
name = "test";
|
name = "test";
|
||||||
subPath = "ubuntu-test";
|
subPath = "ubuntu-test";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
mountPath = "/test2";
|
||||||
|
name = "iscsi";
|
||||||
|
}
|
||||||
|
# {
|
||||||
|
# mountPath = "/test3";
|
||||||
|
# name = "iscsi";
|
||||||
|
# subPath = "ubuntu-test";
|
||||||
|
# }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
@ -27,6 +36,16 @@
|
||||||
claimName = "nfs-main-pvc";
|
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;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue