feat: add Redis configuration options to chat and freeleaps templates

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-08 22:15:44 +08:00
parent 6a264a1c28
commit 628d570a8f
9 changed files with 23 additions and 3 deletions

View File

@ -31,3 +31,5 @@ data:
FREELEAPS_AILAB_ENDPOINT: {{ .Values.chat.configs.freeleapsAilabEndpoint | b64enc | quote }}
FREELEAPS_ENV: {{ .Values.chat.configs.freeleapsEnv | b64enc | quote }}
CERT_PATH: {{ .Values.chat.configs.certPath | b64enc | quote }}
REDIS_URL: {{ .Values.chat.configs.redisUrl | b64enc | quote }}
REDIS_IS_CLUSTER: {{ .Values.chat.configs.redisIsCluster | b64enc | quote }}

View File

@ -72,3 +72,5 @@ chat:
freeleapsAilabEndpoint: ''
freeleapsEnv: alpha
certPath: ''
redisUrl: redis://r6Y@QTb*7BQN@hDGsN@freeleaps-alpha-redis-headless.freeleaps-alpha.svc.freeleaps.cluster:6379
redisIsCluster: "false"

View File

@ -55,3 +55,5 @@ chat:
freeleapsAilabEndpoint: ''
freeleapsEnv: chat
certPath: ''
redisUrl: "redis://r6Y@QTb*7BQN@hDGsN@freeleaps-prod-redis-redis-cluster-headless.freeleaps-prod.svc.freeleaps.cluster:6379"
redisIsCluster: "true"

View File

@ -83,3 +83,7 @@ chat:
freeleapsEnv: ""
# CERT_PATH
certPath: ""
# REDIS_URL
redisUrl: ""
# REDIS_IS_CLUSTER
redisIsCluster: "false"

View File

@ -52,7 +52,7 @@ devsvc:
serviceApiAccessPort: 8007
mongodbName: freeleaps2
mongodbUri: mongodb://freeleaps-alpha-mongo-mongodb.freeleaps-alpha.svc.freeleaps.cluster:27017/
giteaToken: 1d90e6eba4dbe8979878d2f55d9c7a0c2ab782df
giteaToken: 96eec0225f0b505a6ef04c14c4d03aea26f6364a
giteaUrl: http://freeleaps-alpha-gitea-http.freeleaps-alpha.svc.freeleaps.cluster:3000
giteaDepotOrganization: products
codeDepotHttpPort: 443

View File

@ -32,3 +32,5 @@ data:
FREELEAPS_AILAB_ENDPOINT: {{ .Values.freeleaps.configs.freeleapsAilabEndpoint | b64enc | quote }}
FREELEAPS_ENV: {{ .Values.freeleaps.configs.freeleapsEnv | b64enc | quote }}
CERT_PATH: {{ .Values.freeleaps.configs.certPath | b64enc | quote }}
REDIS_URL: {{ .Values.freeleaps.configs.redisUrl | b64enc | quote }}
REDIS_IS_CLUSTER: {{ .Values.freeleaps.configs.redisIsCluster | b64enc | quote }}

View File

@ -73,3 +73,5 @@ freeleaps:
freeleapsAilabEndpoint: ''
freeleapsEnv: alpha
certPath: ''
redisUrl: "redis://r6Y@QTb*7BQN@hDGsN@freeleaps-prod-redis-redis-cluster-headless.freeleaps-prod.svc.freeleaps.cluster:6379"
redisIsCluster: "true"

View File

@ -56,3 +56,5 @@ freeleaps:
freeleapsAilabEndpoint: ''
freeleapsEnv: alpha
certPath: ''
redisUrl: "redis://r6Y@QTb*7BQN@hDGsN@freeleaps-prod-redis-redis-cluster-headless.freeleaps-prod.svc.freeleaps.cluster:6379"
redisIsCluster: "true"

View File

@ -85,3 +85,7 @@ freeleaps:
freeleapsEnv: ""
# CERT_PATH
certPath: ""
# REDIS_URL
redisUrl: ""
# REDIS_IS_CLUSTER
redisIsCluster: "false"