freeleaps-ops/jobs/freeleaps-data-backup/helm-pkg/freeleaps-data-backup/values.prod.yaml
Nicolas a470476c71 feat: add Freeleaps PVC backup job with ArgoCD deployment
- Add Python backup script with PST timezone support
- Create Helm Chart for flexible configuration
- Add ArgoCD Application for GitOps deployment
- Include comprehensive documentation and build scripts
- Support incremental snapshots for cost efficiency
- Process PVCs independently with error handling
- Add .gitignore to exclude Python cache files
2025-08-05 18:07:05 +08:00

40 lines
858 B
YAML

# 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"