From a449f6cc4af2d9e341d9d49f4f3ddeda144f592e Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 19 Apr 2024 16:37:36 +0800 Subject: [PATCH] udpate prod mongo --- prod-upgrade/mongo/mongo.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/prod-upgrade/mongo/mongo.yaml b/prod-upgrade/mongo/mongo.yaml index 22b753c..c2d5698 100644 --- a/prod-upgrade/mongo/mongo.yaml +++ b/prod-upgrade/mongo/mongo.yaml @@ -24,14 +24,8 @@ 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 - chmod 400 /etc/mongodb/keyfile.key securityContext: privileged: true - volumeMounts: - - name: mongo-keyfile - mountPath: /etc/mongodb/keyfile.key - subPath: keyfile.key - readOnly: true containers: - name: mongo image: mongo:6.0