mirror of
https://github.com/nold360/hive-apps
synced 2024-12-22 21:51:20 +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:
|
authentication:
|
||||||
modes: ["SCRAM"]
|
modes: ["SCRAM"]
|
||||||
users:
|
users:
|
||||||
- name: admin
|
- name: bi
|
||||||
db: admin
|
db: bi
|
||||||
passwordSecretRef:
|
passwordSecretRef:
|
||||||
name: bi-mongo-password
|
name: bi-mongo-password
|
||||||
roles:
|
roles:
|
||||||
- name: clusterAdmin
|
- name: dbOwner
|
||||||
db: admin
|
db: bi
|
||||||
- name: userAdminAnyDatabase
|
|
||||||
db: admin
|
|
||||||
scramCredentialsSecretName: bi
|
scramCredentialsSecretName: bi
|
||||||
additionalMongodConfig:
|
|
||||||
storage.wiredTiger.engineConfig.journalCompressor: zlib
|
|
||||||
|
|
|
@ -21,13 +21,13 @@ apps:
|
||||||
jsonPointers:
|
jsonPointers:
|
||||||
- /spec/replicas
|
- /spec/replicas
|
||||||
|
|
||||||
- name: mongo-express
|
# - name: mongo-express
|
||||||
repoURL: https://cowboysysop.github.io/charts/
|
# repoURL: https://cowboysysop.github.io/charts/
|
||||||
chart: mongo-express
|
# chart: mongo-express
|
||||||
targetRevision: 6.5.2
|
# targetRevision: 6.5.2
|
||||||
secrets:
|
# secrets:
|
||||||
- name: mongo-express
|
# - name: mongo-express
|
||||||
keys:
|
# keys:
|
||||||
- mongodb-admin-password
|
# - mongodb-admin-password
|
||||||
- site-cookie-secret
|
# - site-cookie-secret
|
||||||
- site-session-secret
|
# - site-session-secret
|
||||||
|
|
|
@ -14,12 +14,12 @@ controllers:
|
||||||
BIBOT_MONGODB__USER:
|
BIBOT_MONGODB__USER:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: username
|
key: username
|
||||||
BIBOT_MONGODB__PASSWORD:
|
BIBOT_MONGODB__PASSWORD:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: password
|
key: password
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
||||||
PHOENIX_PROJECT_NAME: bi
|
PHOENIX_PROJECT_NAME: bi
|
||||||
|
@ -40,12 +40,12 @@ controllers:
|
||||||
BIBOT_MONGODB__USER:
|
BIBOT_MONGODB__USER:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: username
|
key: username
|
||||||
BIBOT_MONGODB__PASSWORD:
|
BIBOT_MONGODB__PASSWORD:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: password
|
key: password
|
||||||
command: ["python3"]
|
command: ["python3"]
|
||||||
args: ["/app/bi/controller.py", "worker", "-l", "info"]
|
args: ["/app/bi/controller.py", "worker", "-l", "info"]
|
||||||
|
@ -67,12 +67,12 @@ controllers:
|
||||||
BIBOT_MONGODB__USER:
|
BIBOT_MONGODB__USER:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: username
|
key: username
|
||||||
BIBOT_MONGODB__PASSWORD:
|
BIBOT_MONGODB__PASSWORD:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-admin-admin
|
name: bi-mongo-bi-bi
|
||||||
key: password
|
key: password
|
||||||
|
|
||||||
OPENAI_API_KEY: fake
|
OPENAI_API_KEY: fake
|
||||||
|
|
Loading…
Reference in a new issue