try annotations

This commit is contained in:
nyxerinys 2026-07-02 19:29:11 -05:00
parent 3acd0fc3a0
commit d4b8524a47

View file

@ -13,6 +13,7 @@
template = { template = {
metadata = { metadata = {
labels.app = "storage-combo"; labels.app = "storage-combo";
annotations."cdi.k8s.io/devices" = "cdi.nyxerinys.dev/fuse=rw"
}; };
spec = { spec = {
containers = [ containers = [
@ -32,7 +33,6 @@
# mountPath = "/dev/fuse"; # mountPath = "/dev/fuse";
# } # }
# ]; # ];
resources.limits."cdi.k8s.io/cdi.nyxerinys.dev_fuse" = "1";
securityContext = { securityContext = {
capabilities.add = ["SYS_ADMIN"]; capabilities.add = ["SYS_ADMIN"];
# privileged = false; # privileged = false;