mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 13:01:21 +00:00
fix(bi): mongo
This commit is contained in:
parent
8792f297f1
commit
9d479541cb
3 changed files with 20 additions and 24 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue