From 678a4ec3ad42c18b53b0f8e9a842ba5da68a22ac Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 19 Apr 2024 16:55:50 +0800 Subject: [PATCH] udpate prod mongo --- prod-upgrade/mongo/mongo.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/prod-upgrade/mongo/mongo.yaml b/prod-upgrade/mongo/mongo.yaml index 8e8c1b8..1ed5292 100644 --- a/prod-upgrade/mongo/mongo.yaml +++ b/prod-upgrade/mongo/mongo.yaml @@ -24,14 +24,14 @@ 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 + # chown 999 /etc/mongodb/keyfile.key + # chmod 400 /etc/mongodb/keyfile.key securityContext: privileged: true - volumeMounts: - - name: mongo-keyfile - mountPath: /etc/mongodb/keyfile.key - subPath: keyfile.key + # volumeMounts: + # - name: mongo-keyfile + # mountPath: /etc/mongodb/keyfile.key + # subPath: keyfile.key containers: - name: mongo image: mongo:6.0