wildduck: Switch to operator managed Mongo

This commit is contained in:
Lauri Võsandi 2023-09-15 18:08:58 +03:00
parent 671348a674
commit f05cb6f9de
5 changed files with 11 additions and 11 deletions

View File

@ -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:

View File

@ -30,7 +30,7 @@ spec:
name: wildduck-readwrite-password
roles:
- name: readWrite
db: application
db: wildduck
scramCredentialsSecretName: wildduck-readwrite
statefulSet:
spec:

View File

@ -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:

View File

@ -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:

View File

@ -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: