feat: add mongo

This commit is contained in:
Julien Cabillot 2023-02-26 19:22:08 -05:00
parent 8e79e9cd75
commit f64112cfc6
2 changed files with 37 additions and 1 deletions

View File

@ -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

View 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