forked from k-space/kube
wildduck: Update dedicated Mongo for Wildduck
This commit is contained in:
parent
a3539de9e0
commit
f10ff329b7
@ -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:
|
||||
|
1
wildduck/mongodb-support.yml
Symbolic link
1
wildduck/mongodb-support.yml
Symbolic link
@ -0,0 +1 @@
|
||||
../mongodb-operator/mongodb-support.yml
|
Loading…
Reference in New Issue
Block a user