# Production values for freeleaps-data-backup

# Image settings
image:
  repository: freeleaps-pvc-backup
  tag: "latest"
  pullPolicy: Always

# CronJob settings
cronjob:
  enabled: true
  schedule: "0 8 * * *"  # Daily at 00:00 UTC (08:00 UTC+8)
  concurrencyPolicy: Forbid
  successfulJobsHistoryLimit: 7
  failedJobsHistoryLimit: 3
  restartPolicy: OnFailure

# Resource limits for production
resources:
  requests:
    memory: "256Mi"
    cpu: "200m"
  limits:
    memory: "512Mi"
    cpu: "500m"

# Backup configuration for production
backup:
  namespace: "freeleaps-prod"
  pvcs:
    - "gitea-shared-storage"
    - "data-freeleaps-prod-gitea-postgresql-ha-postgresql-0"
  snapshotClass: "csi-azuredisk-vsc"
  timeout: 600  # 10 minutes for production

# Labels for production
labels:
  environment: "production"
  team: "devops"
  component: "backup" 