apiVersion: v1
kind: ConfigMap
metadata:
  name: cdn-config
  namespace: veza-production
data:
  # CDN Provider Configuration
  # Options: cloudflare, cloudfront, generic, none
  cdn-provider: "cloudflare"
  
  # CDN Base URL (e.g., https://cdn.veza.com or https://d1234567890.cloudfront.net)
  cdn-base-url: "https://cdn.veza.com"
  
  # Enable CDN for static assets
  cdn-assets-enabled: "true"
  
  # Enable CDN for audio files
  cdn-audio-enabled: "true"
  
  # Enable CDN for images
  cdn-images-enabled: "true"
  
  # Cache invalidation settings
  cdn-invalidation-on-update: "true"
  
  # CDN cache TTL (in seconds)
  cdn-cache-ttl: "31536000"  # 1 year for static assets
  
  # Audio cache TTL (in seconds)
  cdn-audio-cache-ttl: "2592000"  # 30 days for audio files

