2025-02-24 18:14:16 +00:00
|
|
|
global:
|
|
|
|
|
registry: docker.io
|
|
|
|
|
repository: freeleaps
|
2025-07-30 07:06:29 +00:00
|
|
|
environment: dev
|
2025-02-24 18:14:16 +00:00
|
|
|
nodeSelector: {}
|
2025-03-17 20:14:17 +00:00
|
|
|
dashboard:
|
|
|
|
|
enabled: false
|
|
|
|
|
name: freeleaps-prod-chat-dashboard
|
|
|
|
|
title: Chat Service Dashboard
|
|
|
|
|
metricsPrefix: freeleaps_chat
|
2025-04-21 18:53:41 +00:00
|
|
|
logIngest:
|
|
|
|
|
enabled: false
|
|
|
|
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
|
|
|
|
logPathPattern: /app/log/chat/*.log
|
|
|
|
|
logPath: /app/log/chat
|
2025-02-24 18:14:16 +00:00
|
|
|
chat:
|
|
|
|
|
replicas: 1
|
|
|
|
|
image:
|
|
|
|
|
registry:
|
|
|
|
|
repository: freeleaps
|
|
|
|
|
name: chat
|
|
|
|
|
tag: 1.0.0
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
ports:
|
|
|
|
|
- name: http
|
2025-07-30 01:57:05 +00:00
|
|
|
containerPort: 8012
|
2025-02-24 18:14:16 +00:00
|
|
|
protocol: TCP
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: "0.5"
|
|
|
|
|
memory: "512Mi"
|
|
|
|
|
limits:
|
|
|
|
|
cpu: "1"
|
|
|
|
|
memory: "1Gi"
|
2025-07-30 01:57:05 +00:00
|
|
|
probes:
|
|
|
|
|
liveness:
|
|
|
|
|
type: httpGet
|
|
|
|
|
config:
|
|
|
|
|
path: /api/_/livez
|
|
|
|
|
port: 8012
|
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
timeoutSeconds: 5
|
|
|
|
|
failureThreshold: 3
|
|
|
|
|
readiness:
|
|
|
|
|
type: httpGet
|
|
|
|
|
config:
|
|
|
|
|
path: /api/_/readyz
|
|
|
|
|
port: 8012
|
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
|
periodSeconds: 5
|
|
|
|
|
timeoutSeconds: 3
|
|
|
|
|
failureThreshold: 3
|
2025-02-24 18:14:16 +00:00
|
|
|
services:
|
|
|
|
|
- name: chat-service
|
|
|
|
|
type: ClusterIP
|
2025-07-30 01:57:05 +00:00
|
|
|
port: 8012
|
|
|
|
|
targetPort: 8012
|
2025-03-17 20:14:17 +00:00
|
|
|
serviceMonitor:
|
|
|
|
|
enabled: false
|
|
|
|
|
labels:
|
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
namespace: freeleaps-monitoring-system
|
|
|
|
|
interval: 30s
|
|
|
|
|
scrapeTimeout: ""
|
2025-02-24 18:14:16 +00:00
|
|
|
# Defaults to {}, which means doesn't have any ingress
|
|
|
|
|
ingresses: {}
|
|
|
|
|
configs:
|
|
|
|
|
# TZ
|
|
|
|
|
tz: "UTC"
|
|
|
|
|
# APP_NAME
|
|
|
|
|
appName: "chat"
|
|
|
|
|
# SERVICE_API_ACCESS_HOST
|
|
|
|
|
serviceApiAccessHost: "0.0.0.0"
|
|
|
|
|
# SERVICE_API_ACCESS_PORT
|
2025-07-30 01:57:05 +00:00
|
|
|
serviceApiAccessPort: "8012"
|
2025-02-24 18:14:16 +00:00
|
|
|
# MONGODB_NAME
|
|
|
|
|
mongodbName: ""
|
|
|
|
|
# MONGODB_PORT
|
|
|
|
|
mongodbPort: ''
|
|
|
|
|
# EMAIL_FROM
|
|
|
|
|
emailFrom: ""
|
|
|
|
|
# SITE_URL_ROOT
|
|
|
|
|
siteUrlRoot: ""
|
|
|
|
|
# JWT_SECRET_KEY
|
|
|
|
|
jwtSecretKey: ""
|
|
|
|
|
# JWT_ALGORITHM
|
|
|
|
|
jwtAlgorithm: ""
|
|
|
|
|
# RABBITMQ_HOST
|
|
|
|
|
rabbitmqHost: ""
|
|
|
|
|
# RABBITMQ_PORT
|
2025-09-17 03:43:51 +00:00
|
|
|
rabbitmqPort:
|
2025-02-24 18:14:16 +00:00
|
|
|
# RABBITMQ_USERNAME
|
|
|
|
|
rabbitmqUsername: ""
|
|
|
|
|
# FREELEAPS_DEVSVC_ENDPOINT
|
|
|
|
|
freeleapsDevsvcEndpoint: ""
|
|
|
|
|
# FREELEAPS_CONTENT_ENDPOINT
|
|
|
|
|
freeleapsContentEndpoint: ""
|
|
|
|
|
# FREELEAPS_CENTRAL_STORAGE_ENDPOINT
|
|
|
|
|
freeleapsCentralStorageEndpoint: ""
|
|
|
|
|
# FREELEAPS_CHAT_ENDPOINT
|
|
|
|
|
freeleapsChatEndpoint: ""
|
|
|
|
|
# FREELEAPS_PAYMENT_ENDPOINT
|
|
|
|
|
freeleapsPaymentEndpoint: ""
|
|
|
|
|
# FREELEAPS_AILAB_ENDPOINT
|
|
|
|
|
freeleapsAilabEndpoint: ""
|
|
|
|
|
# FREELEAPS_ENV
|
|
|
|
|
freeleapsEnv: ""
|
2025-08-29 03:53:51 +00:00
|
|
|
# CERT_PATH
|
|
|
|
|
certPath: ""
|
2025-03-08 14:15:44 +00:00
|
|
|
# REDIS_IS_CLUSTER
|
2025-03-17 20:14:17 +00:00
|
|
|
redisIsCluster: "false"
|
|
|
|
|
# METRICS_ENABLED
|
|
|
|
|
metricsEnabled: "false"
|
|
|
|
|
# PROBES_ENABLED
|
2025-07-30 01:57:05 +00:00
|
|
|
probesEnabled: "true"
|
2025-09-17 03:43:51 +00:00
|
|
|
|
2025-08-18 09:05:05 +00:00
|
|
|
secrets:
|
|
|
|
|
secretStoreRef:
|
|
|
|
|
kind: FreeleapsSecretStore
|
|
|
|
|
name: freeleaps-main-secret-store
|
|
|
|
|
target:
|
|
|
|
|
name: "freeleaps-chat-secrets"
|
|
|
|
|
creationPolicy: "Owner"
|
|
|
|
|
refreshInterval: 30s
|
|
|
|
|
data:
|
|
|
|
|
- key: mongodbUri
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-mongodb-uri"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: jwtSecretKey
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-jwt-secret-key"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: stripeApiKey
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-stripe-api-key"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: stripeWebhookSecret
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-stripe-webhook-secret"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: stripeAccountWebhookSecret
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-stripe-account-webhook-secret"
|
|
|
|
|
type: Secret
|
2025-09-17 03:43:51 +00:00
|
|
|
- key: stripeSubscriptionWebhookSecret
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-stripe-subscription-webhook-secret"
|
|
|
|
|
type: Secret
|
2025-08-18 09:05:05 +00:00
|
|
|
- key: rabbitmqPassword
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-rabbitmq-password"
|
|
|
|
|
type: Secret
|
|
|
|
|
- key: redisUrl
|
|
|
|
|
remoteRef:
|
|
|
|
|
key: "freeleaps-redis-url"
|
|
|
|
|
type: Secret
|
2025-06-10 15:53:31 +00:00
|
|
|
vpa:
|
|
|
|
|
minAllowed:
|
|
|
|
|
enabled: false
|
|
|
|
|
cpu: "0.5"
|
|
|
|
|
memory: "512Mi"
|
|
|
|
|
maxAllowed:
|
|
|
|
|
enabled: true
|
|
|
|
|
cpu: "1"
|
|
|
|
|
memory: "1Gi"
|
|
|
|
|
controlledResources:
|
|
|
|
|
- cpu
|
|
|
|
|
- memory
|