Refactor security context in m3uproxy.tf
This commit is contained in:
@@ -222,8 +222,9 @@ resource "kubernetes_deployment" "proxy_pt" {
|
||||
}
|
||||
|
||||
security_context {
|
||||
run_as_user = 1000
|
||||
run_as_group = 1000
|
||||
allow_privilege_escalation = false
|
||||
run_as_user = 1000
|
||||
run_as_group = 1000
|
||||
}
|
||||
|
||||
}
|
||||
@@ -346,8 +347,9 @@ resource "kubernetes_deployment" "m3uproxy" {
|
||||
}
|
||||
|
||||
security_context {
|
||||
run_as_user = 1000
|
||||
run_as_group = 1000
|
||||
allow_privilege_escalation = false
|
||||
run_as_user = 1000
|
||||
run_as_group = 1000
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
|
||||
Reference in New Issue
Block a user