try annotations
This commit is contained in:
parent
3acd0fc3a0
commit
d4b8524a47
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue