apiVersion: v1
kind: ConfigMap
metadata:
  name: azure-config
  namespace: the-order
data:
  # Azure Configuration (from .env file)
  AZURE_REGION: "westeurope"  # Default, override via External Secrets
  AZURE_SUBSCRIPTION_ID: ""   # Set via External Secrets Operator from Key Vault
  AZURE_TENANT_ID: ""         # Set via External Secrets Operator from Key Vault
  
  # Storage Configuration
  AZURE_STORAGE_ACCOUNT: ""   # Set via External Secrets Operator
  AZURE_STORAGE_CONTAINER: "images"
  AZURE_STORAGE_KEY: ""       # Set via External Secrets Operator
  
  # Key Vault Configuration
  AZURE_KEY_VAULT_NAME: ""    # Set via External Secrets Operator
  AZURE_KEY_VAULT_URI: ""      # Set via External Secrets Operator
  
  # CDN Configuration
  AZURE_CDN_PROFILE: "theorder-cdn"
  AZURE_CDN_ENDPOINT: "theorder-cdn-endpoint"
  CDN_BASE_URL: ""            # Set via External Secrets Operator
  
  # AKS Configuration
  AKS_CLUSTER_NAME: "the-order-aks"
  AKS_RESOURCE_GROUP: "the-order-rg"
  
  # Database Configuration
  DATABASE_HOST: ""           # Set via External Secrets Operator
  DATABASE_NAME: "theorder"
  DATABASE_USER: "theorder_admin"
  # DATABASE_PASSWORD set via External Secrets Operator
