wildduck: Update dedicated Mongo for Wildduck
This commit is contained in:
parent
a3539de9e0
commit
f10ff329b7
@ -8,15 +8,6 @@ spec:
|
|||||||
- key: password
|
- key: password
|
||||||
value: "%(plaintext)s"
|
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
|
apiVersion: mongodbcommunity.mongodb.com/v1
|
||||||
kind: MongoDBCommunity
|
kind: MongoDBCommunity
|
||||||
metadata:
|
metadata:
|
||||||
@ -34,21 +25,13 @@ spec:
|
|||||||
modes: ["SCRAM"]
|
modes: ["SCRAM"]
|
||||||
users:
|
users:
|
||||||
- name: readwrite
|
- name: readwrite
|
||||||
db: application
|
db: wildduck
|
||||||
passwordSecretRef:
|
passwordSecretRef:
|
||||||
name: wildduck-readwrite-password
|
name: wildduck-readwrite-password
|
||||||
roles:
|
roles:
|
||||||
- name: readWrite
|
- name: readWrite
|
||||||
db: application
|
db: application
|
||||||
scramCredentialsSecretName: wildduck-readwrite
|
scramCredentialsSecretName: wildduck-readwrite
|
||||||
- name: readonly
|
|
||||||
db: application
|
|
||||||
passwordSecretRef:
|
|
||||||
name: wildduck-readonly-password
|
|
||||||
roles:
|
|
||||||
- name: read
|
|
||||||
db: application
|
|
||||||
scramCredentialsSecretName: wildduck-readonly
|
|
||||||
statefulSet:
|
statefulSet:
|
||||||
spec:
|
spec:
|
||||||
logLevel: WARN
|
logLevel: WARN
|
||||||
@ -77,7 +60,7 @@ spec:
|
|||||||
- key: app
|
- key: app
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- wildduck-svc
|
- wildduck-mongodb-svc
|
||||||
topologyKey: topology.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- 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