wildduck: Update dedicated Mongo for Wildduck

This commit is contained in:
Lauri Võsandi 2023-08-24 20:04:32 +03:00
parent a3539de9e0
commit f10ff329b7
2 changed files with 3 additions and 19 deletions

View File

@ -8,15 +8,6 @@ spec:
- key: password
value: "%(plaintext)s"
---
apiVersion: codemowers.cloud/v1beta1
kind: SecretClaim
metadata:
name: wildduck-readonly-password
spec:
mapping:
- key: password
value: "%(plaintext)s"
---
apiVersion: mongodbcommunity.mongodb.com/v1
kind: MongoDBCommunity
metadata:
@ -34,21 +25,13 @@ spec:
modes: ["SCRAM"]
users:
- name: readwrite
db: application
db: wildduck
passwordSecretRef:
name: wildduck-readwrite-password
roles:
- name: readWrite
db: application
scramCredentialsSecretName: wildduck-readwrite
- name: readonly
db: application
passwordSecretRef:
name: wildduck-readonly-password
roles:
- name: read
db: application
scramCredentialsSecretName: wildduck-readonly
statefulSet:
spec:
logLevel: WARN
@ -77,7 +60,7 @@ spec:
- key: app
operator: In
values:
- wildduck-svc
- wildduck-mongodb-svc
topologyKey: topology.kubernetes.io/zone
volumeClaimTemplates:
- metadata:

View File

@ -0,0 +1 @@
../mongodb-operator/mongodb-support.yml