mirror of
https://github.com/nold360/hive-apps
synced 2025-01-28 18:22:53 +00:00
fix(bi)
This commit is contained in:
parent
4e1ed61c74
commit
bd856a88f7
4 changed files with 47 additions and 144 deletions
|
@ -27,13 +27,8 @@ apps:
|
||||||
chart: qdrant
|
chart: qdrant
|
||||||
targetRevision: 1.12.6
|
targetRevision: 1.12.6
|
||||||
|
|
||||||
# - name: mongo-express
|
- name: valkey
|
||||||
# repoURL: https://cowboysysop.github.io/charts/
|
namespace: bi
|
||||||
# chart: mongo-express
|
repoURL: registry-1.docker.io/bitnamicharts
|
||||||
# targetRevision: 6.5.2
|
chart: valkey
|
||||||
# secrets:
|
targetRevision: 2.2.3
|
||||||
# - name: mongo-express
|
|
||||||
# keys:
|
|
||||||
# - mongodb-admin-password
|
|
||||||
# - site-cookie-secret
|
|
||||||
# - site-session-secret
|
|
||||||
|
|
|
@ -10,24 +10,17 @@ controllers:
|
||||||
env:
|
env:
|
||||||
BIBOT_CONFIG: /config/bibot.yml
|
BIBOT_CONFIG: /config/bibot.yml
|
||||||
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
||||||
BIBOT_MONGODB__URI: mongodb://bi-mongo-svc:27017/
|
|
||||||
BIBOT_MONGODB__USER:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: username
|
|
||||||
BIBOT_MONGODB__PASSWORD:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: password
|
|
||||||
BIBOT_QDRANT__API_KEY:
|
BIBOT_QDRANT__API_KEY:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: qdrant-apikey
|
name: qdrant-apikey
|
||||||
key: api-key
|
key: api-key
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
BIBOT_VALKEY__HOST: valkey-primary.bi.svc.cluster.local
|
||||||
PHOENIX_PROJECT_NAME: bi
|
BIBOT_VALKEY__PASSWORD:
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: valkey
|
||||||
|
key: valkey-password
|
||||||
OPENAI_API_KEY: fake
|
OPENAI_API_KEY: fake
|
||||||
command: ["python"]
|
command: ["python"]
|
||||||
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
|
args: ["/app/bi/agents/main/app.py", "worker", "-l", "info"]
|
||||||
|
@ -42,17 +35,12 @@ controllers:
|
||||||
env:
|
env:
|
||||||
BIBOT_CONFIG: /config/bibot.yml
|
BIBOT_CONFIG: /config/bibot.yml
|
||||||
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
||||||
BIBOT_MONGODB__URI: mongodb://bi-mongo-svc:27017/
|
BIBOT_VALKEY__HOST: valkey-primary.bi.svc.cluster.local
|
||||||
BIBOT_MONGODB__USER:
|
BIBOT_VALKEY__PASSWORD:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: bi-mongo-bi-bi
|
name: valkey
|
||||||
key: username
|
key: valkey-password
|
||||||
BIBOT_MONGODB__PASSWORD:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: password
|
|
||||||
command: ["python"]
|
command: ["python"]
|
||||||
args: ["/app/bi/controller.py", "worker", "-l", "info"]
|
args: ["/app/bi/controller.py", "worker", "-l", "info"]
|
||||||
|
|
||||||
|
@ -66,24 +54,17 @@ controllers:
|
||||||
env:
|
env:
|
||||||
BIBOT_CONFIG: /config/bibot.yml
|
BIBOT_CONFIG: /config/bibot.yml
|
||||||
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
BIBOT_KAFKA__BROKER: kafka://bi-cluster-kafka-bootstrap:9092
|
||||||
BIBOT_MONGODB__URI: mongodb://bi-mongo-svc:27017/
|
|
||||||
BIBOT_MONGODB__USER:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: username
|
|
||||||
BIBOT_MONGODB__PASSWORD:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: password
|
|
||||||
BIBOT_QDRANT__API_KEY:
|
BIBOT_QDRANT__API_KEY:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: qdrant-apikey
|
name: qdrant-apikey
|
||||||
key: api-key
|
key: api-key
|
||||||
PHOENIX_COLLECTOR_ENDPOINT: http://phoenix.phoenix.svc.cluster.local:6006
|
BIBOT_VALKEY__PASSWORD:
|
||||||
PHOENIX_PROJECT_NAME: bi
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: valkey
|
||||||
|
key: valkey-password
|
||||||
|
BIBOT_VALKEY__HOST: valkey-primary.bi.svc.cluster.local
|
||||||
OPENAI_API_KEY: fake
|
OPENAI_API_KEY: fake
|
||||||
command: ["python"]
|
command: ["python"]
|
||||||
args: ["/app/bi/agents/memory/app.py", "worker", "-l", "info"]
|
args: ["/app/bi/agents/memory/app.py", "worker", "-l", "info"]
|
||||||
|
@ -102,17 +83,7 @@ controllers:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BIBOT_KAFKA__BROKER: bi-cluster-kafka-bootstrap:9092
|
BIBOT_KAFKA__BROKER: bi-cluster-kafka-bootstrap:9092
|
||||||
BIBOT_MONGODB__URI: mongodb://bi-mongo-svc:27017/
|
BIBOT_VALKEY__HOST: valkey-primary.bi.svc.cluster.local
|
||||||
BIBOT_MONGODB__USER:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: username
|
|
||||||
BIBOT_MONGODB__PASSWORD:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: password
|
|
||||||
OPENAI_API_KEY: fake
|
OPENAI_API_KEY: fake
|
||||||
BIBOT_DISCORD__TOKEN:
|
BIBOT_DISCORD__TOKEN:
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -132,20 +103,6 @@ controllers:
|
||||||
startup:
|
startup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
mongoui:
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: ugleiton/mongo-gui
|
|
||||||
tag: latest
|
|
||||||
pullPolicy: Always
|
|
||||||
env:
|
|
||||||
MONGO_URL:
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: bi-mongo-bi-bi
|
|
||||||
key: connectionString.standardSrv
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
secret:
|
secret:
|
||||||
name: bibot
|
name: bibot
|
||||||
|
@ -162,28 +119,28 @@ persistence:
|
||||||
type: persistentVolumeClaim
|
type: persistentVolumeClaim
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
|
|
||||||
service:
|
# service:
|
||||||
main:
|
# main:
|
||||||
controller: mongoui
|
# controller: mongoui
|
||||||
ports:
|
# ports:
|
||||||
http:
|
# http:
|
||||||
port: 4321
|
# port: 4321
|
||||||
type: ClusterIP
|
# type: ClusterIP
|
||||||
|
|
||||||
ingress:
|
# ingress:
|
||||||
main:
|
# main:
|
||||||
annotations:
|
# annotations:
|
||||||
cert-manager.io/cluster-issuer: vault-issuer
|
# cert-manager.io/cluster-issuer: vault-issuer
|
||||||
enabled: true
|
# enabled: true
|
||||||
hosts:
|
# hosts:
|
||||||
- host: mongo.dc
|
# - host: mongo.dc
|
||||||
paths:
|
# paths:
|
||||||
- path: /
|
# - path: /
|
||||||
service:
|
# service:
|
||||||
# name: main
|
# # name: main
|
||||||
identifier: main
|
# identifier: main
|
||||||
port: 4321
|
# port: 4321
|
||||||
tls:
|
# tls:
|
||||||
- hosts:
|
# - hosts:
|
||||||
- mongo.dc
|
# - mongo.dc
|
||||||
secretName: mongo-tls
|
# secretName: mongo-tls
|
||||||
|
|
|
@ -1,50 +0,0 @@
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: "ingress-internal"
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: vault-issuer
|
|
||||||
|
|
||||||
hosts:
|
|
||||||
- host: mongo.dc
|
|
||||||
paths:
|
|
||||||
- /
|
|
||||||
|
|
||||||
tls:
|
|
||||||
- secretName: mongo-express-tls
|
|
||||||
hosts:
|
|
||||||
- mongo.dc
|
|
||||||
|
|
||||||
## @param mongodbServer MongoDB host name or IP address
|
|
||||||
mongodbServer: bi-mongo-svc.bi.svc.cluster.local
|
|
||||||
|
|
||||||
## @param mongodbPort MongoDB port
|
|
||||||
mongodbPort: 27017
|
|
||||||
|
|
||||||
## @param mongodbEnableAdmin Enable administrator access
|
|
||||||
mongodbEnableAdmin: true
|
|
||||||
|
|
||||||
## @param mongodbAdminUsername Administrator username
|
|
||||||
mongodbAdminUsername: admin
|
|
||||||
|
|
||||||
## @param mongodbAdminPassword Administrator password
|
|
||||||
# mongodbAdminPassword: ""
|
|
||||||
|
|
||||||
## @param siteBaseUrl Set the express baseUrl to ease mounting at a subdirectory
|
|
||||||
siteBaseUrl: /
|
|
||||||
|
|
||||||
## @param basicAuthUsername Mongo Express web login name
|
|
||||||
basicAuthUsername: ""
|
|
||||||
|
|
||||||
## @param basicAuthPassword Mongo Express web login password
|
|
||||||
basicAuthPassword: ""
|
|
||||||
|
|
||||||
## @param existingSecret Name of existing Secret to use
|
|
||||||
existingSecret: "mongo-express"
|
|
||||||
|
|
||||||
## @param existingSecretKeyMongodbAdminPassword Key in existing Secret that contains administrator password
|
|
||||||
# existingSecretKeyMongodbAdminPassword: bi-mongo-admin-admin
|
|
||||||
|
|
||||||
## @param existingSecretKeyMongodbAuthPassword Key in existing Secret that contains database password
|
|
||||||
# existingSecretKeyMongodbAuthPassword: bi-mongo-admin-admin
|
|
1
projects/bi/values/valkey.yml
Normal file
1
projects/bi/values/valkey.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
architecture: standalone
|
Loading…
Add table
Reference in a new issue