feat: add mongo
This commit is contained in:
parent
8e79e9cd75
commit
f64112cfc6
@ -3,7 +3,7 @@ apiVersion: v2
|
|||||||
description: Helm chart for wekan
|
description: Helm chart for wekan
|
||||||
name: wekan
|
name: wekan
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.15
|
version: 0.1.17
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- wekan
|
- wekan
|
||||||
|
|||||||
36
charts/wekan/templates/mongodb.yaml
Normal file
36
charts/wekan/templates/mongodb.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
---
|
||||||
|
apiVersion: mongodbcommunity.mongodb.com/v1
|
||||||
|
kind: MongoDBCommunity
|
||||||
|
metadata:
|
||||||
|
name: wekan
|
||||||
|
spec:
|
||||||
|
members: 3
|
||||||
|
type: ReplicaSet
|
||||||
|
version: "4.2.6"
|
||||||
|
security:
|
||||||
|
authentication:
|
||||||
|
modes: ["SCRAM"]
|
||||||
|
users:
|
||||||
|
- name: app-user
|
||||||
|
db: admin
|
||||||
|
passwordSecretRef: # a reference to the secret that will be used to generate the user's password
|
||||||
|
name: mongodb-app-user
|
||||||
|
roles:
|
||||||
|
- name: clusterAdmin
|
||||||
|
db: admin
|
||||||
|
- name: userAdminAnyDatabase
|
||||||
|
db: admin
|
||||||
|
scramCredentialsSecretName: my-scram
|
||||||
|
additionalMongodConfig:
|
||||||
|
storage.wiredTiger.engineConfig.journalCompressor: zlib
|
||||||
|
|
||||||
|
# the user credentials will be generated from this secret
|
||||||
|
# once the credentials are generated, this secret is no longer required
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: mongodb-app-user
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
password: test
|
||||||
Loading…
x
Reference in New Issue
Block a user