run as root
This commit is contained in:
parent
8e4fc931a2
commit
8856797051
2 changed files with 3 additions and 5 deletions
|
|
@ -15,10 +15,6 @@
|
|||
labels.app = "storage-combo";
|
||||
};
|
||||
spec = {
|
||||
securityContext = {
|
||||
runAsUser = 1000;
|
||||
runAsGroup = 1000;
|
||||
};
|
||||
containers = [
|
||||
{
|
||||
name = "storage-combo";
|
||||
|
|
@ -39,6 +35,8 @@
|
|||
securityContext = {
|
||||
capabilities.add = ["SYS_ADMIN"];
|
||||
privileged = true;
|
||||
runAsUser = 0;
|
||||
runAsGroup = 0;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue