This commit is contained in:
nyxerinys 2026-07-02 18:54:57 -05:00
parent 7001c58d39
commit 7a4fe282de
4 changed files with 42 additions and 21 deletions

View file

@ -26,29 +26,30 @@
containerPort = 2222;
}
];
volumeMounts = [
{
name = "fuse-device";
mountPath = "/dev/fuse";
}
];
# volumeMounts = [
# {
# name = "fuse-device";
# mountPath = "/dev/fuse";
# }
# ];
resources.requests."cdi.k8s.io/cdi.nyxerinys.dev_fuse" = "1";
securityContext = {
capabilities.add = ["SYS_ADMIN"];
privileged = false;
runAsUser = 0;
runAsGroup = 0;
};
}
];
volumes = [
{
name = "fuse-device";
hostPath = {
path = "/dev/fuse";
type = "CharDevice";
# privileged = false;
# runAsUser = 0;
# runAsGroup = 0;
};
}
];
# volumes = [
# {
# name = "fuse-device";
# hostPath = {
# path = "/dev/fuse";
# type = "CharDevice";
# };
# }
# ];
};
};
};