fix(bi): mongo

This commit is contained in:
nold 2024-07-02 20:16:26 +02:00
parent 8792f297f1
commit 9d479541cb
3 changed files with 20 additions and 24 deletions

View file

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

View file

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

View file

@ -14,12 +14,12 @@ controllers:
BIBOT_MONGODB__USER:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: username
BIBOT_MONGODB__PASSWORD:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: password
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
PHOENIX_PROJECT_NAME: bi
@ -40,12 +40,12 @@ controllers:
BIBOT_MONGODB__USER:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: username
BIBOT_MONGODB__PASSWORD:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: password
command: ["python3"]
args: ["/app/bi/controller.py", "worker", "-l", "info"]
@ -67,12 +67,12 @@ controllers:
BIBOT_MONGODB__USER:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: username
BIBOT_MONGODB__PASSWORD:
valueFrom:
secretKeyRef:
name: bi-mongo-admin-admin
name: bi-mongo-bi-bi
key: password
OPENAI_API_KEY: fake