apiVersion: v1
kind: ConfigMap
metadata:
  name: ai-control-chat-config
  namespace: aegida-services
data:
  AEGIDA_GATE_URL: http://aegida-gate.aegida-services.svc.cluster.local:8080
  AEGIDA_TENANT_ID: tenant-1
  AUTH_SEED_ENABLED: "false"
  JWT_AUDIENCE: aegida-gate
  JWT_ISSUER: corp-ui
  NEXT_PUBLIC_APP_URL: https://chat.aegida.test:8443
  S3_BUCKET: ai-control-chat-attachments
  S3_ENDPOINT: http://ai-control-chat-minio:9000
  S3_FORCE_PATH_STYLE: "true"
  S3_REGION: us-east-1
  USER_SERVICE_URL: http://user-service.aegida-services.svc.cluster.local:8080
---
apiVersion: v1
kind: Secret
metadata:
  name: ai-control-chat-secrets
  namespace: aegida-services
type: Opaque
stringData:
  DATABASE_URL: postgresql://ai-control-chat-ui:ai-control-chat-ui@ai-control-chat-postgres:5432/ai_control_chat_ui
  JWT_SECRET: development-only-chat-jwt-secret-replace-before-production
  MINIO_ROOT_PASSWORD: ai-control-chat-ui
  MINIO_ROOT_USER: ai-control-chat-ui
  POSTGRES_DB: ai_control_chat_ui
  POSTGRES_PASSWORD: ai-control-chat-ui
  POSTGRES_USER: ai-control-chat-ui
  S3_ACCESS_KEY_ID: ai-control-chat-ui
  S3_SECRET_ACCESS_KEY: ai-control-chat-ui
