apiVersion: v1
kind: Secret
metadata:
  name: ailab-config
  namespace: {{ .Release.Namespace }}
type: Opaque
data:
  SERVICE_API_ACCESS_HOST: {{ .Values.ailab.configs.serviceApiAccessHost | b64enc | quote }}
  SERVICE_API_ACCESS_PORT: {{ .Values.ailab.configs.serviceApiAccessPort | toString | b64enc }}
  CONTAINER_APP_ROOT: {{ .Values.ailab.configs.containerAppRoot | b64enc | quote }}
  AZURE_TRANSLATION_API_KEY: {{ .Values.ailab.configs.azureTranslationApiKey | b64enc | quote }}
  AZURE_TRANSLATION_API_LOCATION: {{ .Values.ailab.configs.azureTranslationApiLocation | b64enc | quote }}
  AZURE_TRANSLATION_API_ENDPOINT: {{ .Values.ailab.configs.azureTranslationApiEndpoint | b64enc | quote }}
  AZURE_DOCUMENT_TRANSLATION_API_ENDPOINT: {{ .Values.ailab.configs.azureDocumentTranslationApiEndpoint | b64enc | quote }}
  AZURE_OPENAI_API_VERSION: {{ .Values.ailab.configs.azureOpenaiApiVersion | b64enc | quote }}
  AZURE_OPENAI_API_KEY: {{ .Values.ailab.configs.azureOpenaiApiKey | b64enc | quote }}
  AZURE_OPENAI_ENDPOINT: {{ .Values.ailab.configs.azureOpenaiEndpoint | b64enc | quote }}
  ANTHROPIC_API_KEY: {{ .Values.ailab.configs.anthropicApiKey | b64enc | quote }}
  ANTHROPIC_API_MODEL_VERSION: {{ .Values.ailab.configs.anthropicApiModelVersion | b64enc | quote }}
  ANTHROPIC_API_MODEL_MAX_TOKEN: {{ .Values.ailab.configs.anthropicApiModelMaxToken | toString | b64enc }}
  REDIS_URL: {{ .Values.ailab.configs.redisUrl | b64enc | quote }}