apiVersion: v1
kind: ConfigMap
metadata:
  name: iam-service-config
  namespace: iam-local
data:
  # Node Environment
  NODE_ENV: "development"
  LOG_LEVEL: "debug"
  
  # Service Configuration
  PORT: "5001"
  SERVICE_NAME: "iam-service"
  API_VERSION: "v1"
  
  # Redis Configuration
  REDIS_HOST: "redis"
  REDIS_PORT: "6379"
  
  # JWT Configuration
  JWT_EXPIRES_IN: "15m"
  JWT_REFRESH_EXPIRES_IN: "7d"
  JWT_ID_EXPIRES_IN: "1h"
  JWT_ISSUER: "goodgo-auth"
  JWT_AUDIENCE: "goodgo-api"
  
  # CORS Configuration
  CORS_ORIGIN: "http://localhost:3000,http://localhost:3001,http://localhost"
  
  # Observability
  TRACING_ENABLED: "false"
  METRICS_ENABLED: "true"
