Refactor security context in m3uproxy.tf

This commit is contained in:
2024-09-25 21:11:09 +02:00
parent c6829653a5
commit def5d0ac60
+6 -4
View File
@@ -222,8 +222,9 @@ resource "kubernetes_deployment" "proxy_pt" {
} }
security_context { security_context {
run_as_user = 1000 allow_privilege_escalation = false
run_as_group = 1000 run_as_user = 1000
run_as_group = 1000
} }
} }
@@ -346,8 +347,9 @@ resource "kubernetes_deployment" "m3uproxy" {
} }
security_context { security_context {
run_as_user = 1000 allow_privilege_escalation = false
run_as_group = 1000 run_as_user = 1000
run_as_group = 1000
} }
volume_mount { volume_mount {