udpate prod mongo
parent
d9b907a71c
commit
51a578a801
|
@ -41,9 +41,20 @@ spec:
|
||||||
image: mongo:6.0
|
image: mongo:6.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
- "--bind_ip=localhost,0.0.0.0"
|
- "--bind_ip_all"
|
||||||
- "--replSet=bfs-mongo-rs0"
|
- "--replSet=bfs-mongo-rs0"
|
||||||
- "--keyFile=/etc/mongodb/keyfile.0"
|
- "--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:
|
ports:
|
||||||
- containerPort: 27017
|
- containerPort: 27017
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
Loading…
Reference in New Issue