From 6a38de6b37acd9cb0674e22ebdce32b77168b516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E9=87=91=E8=99=8E?= <1050780355@qq.com> Date: Tue, 28 May 2024 17:31:27 +0800 Subject: [PATCH] clear mongo log --- deploy/cloud/manifests/clear-mongo-log.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/cloud/manifests/clear-mongo-log.yaml b/deploy/cloud/manifests/clear-mongo-log.yaml index b040062def7..0006f57277f 100644 --- a/deploy/cloud/manifests/clear-mongo-log.yaml +++ b/deploy/cloud/manifests/clear-mongo-log.yaml @@ -64,4 +64,6 @@ spec: done securityContext: runAsUser: 0 + allowPrivilegeEscalation: false + runAsNonRoot: true restartPolicy: OnFailure \ No newline at end of file