setup iscsi zvol

This commit is contained in:
NyxErinys 2026-05-26 02:44:27 -05:00
parent 94fad0432d
commit 1787680c4a
3 changed files with 122 additions and 13 deletions

View file

@ -0,0 +1,34 @@
{ ... }:
{
authentik.content = [
{
apiVersion = "v1";
kind = "Pod";
metadata.name = "ubuntu-test";
spec = {
containers = [
{
name = "ubuntu-test";
image = "ubuntu:latest";
command = [ "tail" "-f" "/dev/null" ];
volumeMounts = [
{
mountPath = "/test";
name = "test";
subPath = "ubuntu-test";
}
];
}
];
volumes = [
{
name = "test";
persistentVolumeClaim = {
claimName = "nfs-main-pvc";
};
}
];
};
}
];
}