apiVersion: v1
kind: ConfigMap
metadata:
  name: wcag-ada-config
  namespace: wcag-ada
data:
  NODE_ENV: "production"
  APP_NAME: "wcag-ada"
  
  # API Configuration
  API_PORT: "3001"
  API_CORS_ORIGIN: "https://wcag-ada.example.com"
  API_JWT_EXPIRES_IN: "7d"
  API_RATE_LIMIT: "100"
  API_RATE_WINDOW: "60000"
  
  # Worker Configuration
  WORKER_PORT: "3002"
  WORKER_CONCURRENCY: "5"
  WORKER_QUEUE_NAME: "accessibility-scans"
  
  # Redis Configuration
  REDIS_HOST: "redis-service"
  REDIS_PORT: "6379"
  REDIS_DB: "0"
  
  # Scanner Configuration
  SCANNER_HEADLESS: "true"
  SCANNER_TIMEOUT: "30000"
  SCANNER_VIEWPORT_WIDTH: "1920"
  SCANNER_VIEWPORT_HEIGHT: "1080"
  SCANNER_BLOCK_RESOURCES: "true"
  SCANNER_BLOCK_PATTERNS: "font,image"
  
  # Features
  FEATURES_SCREENSHOTS: "true"
  FEATURES_FIX_SUGGESTIONS: "true"
  FEATURES_CUSTOM_RULES: "true"
  FEATURES_SCHEDULED_SCANS: "true"
  FEATURES_BULK_SCANNING: "false"
  FEATURES_API_ACCESS: "true"
  
  # Scheduler
  SCHEDULER_TIMEZONE: "America/New_York"
  SCHEDULER_MAX_CONCURRENT_SCANS: "3"
  SCHEDULER_RETRY_ATTEMPTS: "3"
  SCHEDULER_RETRY_DELAY: "5000"