## Global settings
nameOverride: ""
fullnameOverride: ""

## OpenWebUI Main Component Settings
main:
  enabled: true
  image:
    repository: ghcr.io/open-webui/open-webui
    tag: 0.6.8
    pullPolicy: IfNotPresent
  
  # User configurable options from app spec
  config:
    storageClassName: "gp2"  # Required: Storage class for the PVC
    enableOpenAI: true       # Optional: Enable OpenAI-compatible API
    openaiApiBaseUrls: ""    # Optional: OpenAI API base URLs (semicolon-separated)
  
  # User configurable secrets from app spec
  secrets:
    openaiApiKeys: ""        # Optional: OpenAI API keys (semicolon-separated)
  
  # Security context settings
  securityContext:
    enabled: true
    fsGroup: 0
    runAsUser: 0
    runAsGroup: 0
    runAsNonRoot: false
  
  service:
    type: ClusterIP
    port: 8080

  resources:
    requests:
      cpu: 500m
      memory: 1Gi
    limits:
      cpu: 500m
      memory: 2Gi

  persistence:
    enabled: true
    size: 10Gi
    # storageClassName is set from config.storageClassName

## MCPO Component Settings
mcpo:
  enabled: false  # Optional component, disabled by default
  image:
    repository: ghcr.io/open-webui/mcpo
    tag: git-e37d0eb #v0.0.13
    pullPolicy: IfNotPresent
  
  # User configurable options from app spec
  config:
    serverConfig: {}  # JSON configuration for MCP servers
  
  service:
    type: ClusterIP
    port: 8000
  
  resources:
    requests:
      cpu: 100m
      memory: 128Mi
    limits:
      cpu: 500m
      memory: 512Mi 