From 0d4e8d7ff435aca58cb8ca79867070491b69e96d Mon Sep 17 00:00:00 2001 From: nold Date: Tue, 2 Jul 2024 20:16:26 +0200 Subject: [PATCH] fix(bi): mongo --- projects/bi/manifests/mongo.yml | 12 ++++-------- projects/bi/project.yaml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/projects/bi/manifests/mongo.yml b/projects/bi/manifests/mongo.yml index f1a0a596..4ec05ec8 100644 --- a/projects/bi/manifests/mongo.yml +++ b/projects/bi/manifests/mongo.yml @@ -12,15 +12,11 @@ spec: authentication: modes: ["SCRAM"] users: - - name: admin - db: admin + - name: bi + db: bi passwordSecretRef: name: bi-mongo-password roles: - - name: clusterAdmin - db: admin - - name: userAdminAnyDatabase - db: admin + - name: dbOwner + db: bi scramCredentialsSecretName: bi - additionalMongodConfig: - storage.wiredTiger.engineConfig.journalCompressor: zlib diff --git a/projects/bi/project.yaml b/projects/bi/project.yaml index d60e2dd6..9a4496c4 100644 --- a/projects/bi/project.yaml +++ b/projects/bi/project.yaml @@ -21,13 +21,13 @@ apps: jsonPointers: - /spec/replicas -- name: mongo-express - repoURL: https://cowboysysop.github.io/charts/ - chart: mongo-express - targetRevision: 6.5.2 - secrets: - - name: mongo-express - keys: - - mongodb-admin-password - - site-cookie-secret - - site-session-secret +# - name: mongo-express +# repoURL: https://cowboysysop.github.io/charts/ +# chart: mongo-express +# targetRevision: 6.5.2 +# secrets: +# - name: mongo-express +# keys: +# - mongodb-admin-password +# - site-cookie-secret +# - site-session-secret