udpate mongo

main
ycz008 2024-04-19 15:39:42 +08:00
parent 998edaefd6
commit fc674cfd1f
1 changed files with 3 additions and 5 deletions

View File

@ -29,12 +29,10 @@ spec:
containers: containers:
- name: mongo - name: mongo
image: mongo:6.0 image: mongo:6.0
command:
- mongod
args: args:
- --auth - "--auth"
- --bind_ip_all - "--bind_ip_all"
- --replSet bfs-mongo-rs0 - "--replSet bfs-mongo-rs0"
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: MONGO_INITDB_ROOT_USERNAME - name: MONGO_INITDB_ROOT_USERNAME