mirror of
https://gitlab.com/TECHNOFAB/coder-templates.git
synced 2025-12-12 02:00:11 +01:00
chore(nix-kubernetes): add runAsGroup to securityContext
This commit is contained in:
parent
cc11521d27
commit
e08b376bb7
1 changed files with 7 additions and 3 deletions
|
|
@ -66,7 +66,10 @@
|
|||
memory = "\${data.coder_parameter.memory.value}";
|
||||
};
|
||||
};
|
||||
security_context.run_as_user = "1000";
|
||||
security_context = {
|
||||
run_as_user = 1000;
|
||||
run_as_group = 1000;
|
||||
};
|
||||
volume_mount = [
|
||||
{
|
||||
mount_path = "/home";
|
||||
|
|
@ -87,8 +90,9 @@
|
|||
}
|
||||
];
|
||||
security_context = {
|
||||
fs_group = "1000";
|
||||
run_as_user = "1000";
|
||||
fs_group = 1000;
|
||||
run_as_user = 1000;
|
||||
run_as_group = 1000;
|
||||
};
|
||||
volume = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue