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, "redis": process.env.REDIS_URI,
"mongo": { "mongo": {
"url": process.env.MONGO_URI, "url": process.env.MONGO_URI,
"sender": "zone-mta", "sender": "wildduck",
}, },
"sender": { "sender": {
"enabled": true, "enabled": true,
@ -150,8 +150,8 @@ spec:
- name: MONGO_URI - name: MONGO_URI
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: wildduck name: wildduck-mongodb-wildduck-readwrite
key: MONGO_URI key: connectionString.standard
volumes: volumes:
- name: cert - name: cert
secret: secret:

View File

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

View File

@ -60,8 +60,8 @@ spec:
- name: MONGODB_HOST - name: MONGODB_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: wildduck name: wildduck-mongodb-wildduck-readwrite
key: MONGO_URI key: connectionString.standard
- name: PROMETHEUS_BEARER_TOKEN - name: PROMETHEUS_BEARER_TOKEN
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View File

@ -77,8 +77,8 @@ spec:
- name: APPCONF_dbs_mongo - name: APPCONF_dbs_mongo
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: wildduck name: wildduck-mongodb-wildduck-readwrite
key: MONGO_URI key: connectionString.standard
- name: APPCONF_dbs_redis - name: APPCONF_dbs_redis
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:

View File

@ -87,12 +87,12 @@ spec:
name: srs name: srs
key: secret key: secret
- name: APPCONF_dbs_sender - name: APPCONF_dbs_sender
value: zone-mta value: wildduck
- name: APPCONF_dbs_mongo - name: APPCONF_dbs_mongo
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: wildduck name: wildduck-mongodb-wildduck-readwrite
key: MONGO_URI key: connectionString.standard
- name: APPCONF_dbs_redis - name: APPCONF_dbs_redis
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: