- 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
40 lines
858 B
YAML
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" |