chore(nix-kubernetes): add runAsGroup to securityContext

This commit is contained in:
technofab 2024-04-26 21:20:55 +02:00
parent cc11521d27
commit e08b376bb7

View file

@ -66,7 +66,10 @@
memory = "\${data.coder_parameter.memory.value}"; memory = "\${data.coder_parameter.memory.value}";
}; };
}; };
security_context.run_as_user = "1000"; security_context = {
run_as_user = 1000;
run_as_group = 1000;
};
volume_mount = [ volume_mount = [
{ {
mount_path = "/home"; mount_path = "/home";
@ -87,8 +90,9 @@
} }
]; ];
security_context = { security_context = {
fs_group = "1000"; fs_group = 1000;
run_as_user = "1000"; run_as_user = 1000;
run_as_group = 1000;
}; };
volume = [ volume = [
{ {