From af87c8eb008cb3e4699e362e4392772917efe76d Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 19 Apr 2024 16:51:57 +0800 Subject: [PATCH] udpate prod mongo --- prod-upgrade/mongo/mongo.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/prod-upgrade/mongo/mongo.yaml b/prod-upgrade/mongo/mongo.yaml index 19e9fb3..8e8c1b8 100644 --- a/prod-upgrade/mongo/mongo.yaml +++ b/prod-upgrade/mongo/mongo.yaml @@ -24,6 +24,7 @@ spec: sysctl -w net.ipv4.tcp_keepalive_time=300 sysctl -w net.ipv4.tcp_keepalive_intvl=10 sysctl -w net.ipv4.tcp_keepalive_probes=3 + chown 999 /etc/mongodb/keyfile.key chmod 400 /etc/mongodb/keyfile.key securityContext: privileged: true