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,
|
"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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user