forked from k-space/kube
wildduck: Switch to operator managed Mongo
This commit is contained in:
parent
671348a674
commit
f05cb6f9de
@ -55,7 +55,7 @@ data:
|
||||
"redis": process.env.REDIS_URI,
|
||||
"mongo": {
|
||||
"url": process.env.MONGO_URI,
|
||||
"sender": "zone-mta",
|
||||
"sender": "wildduck",
|
||||
},
|
||||
"sender": {
|
||||
"enabled": true,
|
||||
@ -150,8 +150,8 @@ spec:
|
||||
- name: MONGO_URI
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wildduck
|
||||
key: MONGO_URI
|
||||
name: wildduck-mongodb-wildduck-readwrite
|
||||
key: connectionString.standard
|
||||
volumes:
|
||||
- name: cert
|
||||
secret:
|
||||
|
@ -30,7 +30,7 @@ spec:
|
||||
name: wildduck-readwrite-password
|
||||
roles:
|
||||
- name: readWrite
|
||||
db: application
|
||||
db: wildduck
|
||||
scramCredentialsSecretName: wildduck-readwrite
|
||||
statefulSet:
|
||||
spec:
|
||||
|
@ -60,8 +60,8 @@ spec:
|
||||
- name: MONGODB_HOST
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wildduck
|
||||
key: MONGO_URI
|
||||
name: wildduck-mongodb-wildduck-readwrite
|
||||
key: connectionString.standard
|
||||
- name: PROMETHEUS_BEARER_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -77,8 +77,8 @@ spec:
|
||||
- name: APPCONF_dbs_mongo
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wildduck
|
||||
key: MONGO_URI
|
||||
name: wildduck-mongodb-wildduck-readwrite
|
||||
key: connectionString.standard
|
||||
- name: APPCONF_dbs_redis
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@ -87,12 +87,12 @@ spec:
|
||||
name: srs
|
||||
key: secret
|
||||
- name: APPCONF_dbs_sender
|
||||
value: zone-mta
|
||||
value: wildduck
|
||||
- name: APPCONF_dbs_mongo
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wildduck
|
||||
key: MONGO_URI
|
||||
name: wildduck-mongodb-wildduck-readwrite
|
||||
key: connectionString.standard
|
||||
- name: APPCONF_dbs_redis
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
Loading…
Reference in New Issue
Block a user