udpate prod mongo
parent
d9b907a71c
commit
51a578a801
|
@ -41,9 +41,20 @@ spec:
|
|||
image: mongo:6.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
args:
|
||||
- "--bind_ip=localhost,0.0.0.0"
|
||||
- "--bind_ip_all"
|
||||
- "--replSet=bfs-mongo-rs0"
|
||||
- "--keyFile=/etc/mongodb/keyfile.0"
|
||||
env:
|
||||
- name: MONGO_INITDB_ROOT_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mongo
|
||||
key: initdb_root_username
|
||||
- name: MONGO_INITDB_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: mongo
|
||||
key: initdb_root_password
|
||||
ports:
|
||||
- containerPort: 27017
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in New Issue