- 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
65 lines
1.2 KiB
YAML
65 lines
1.2 KiB
YAML
# Default values for freeleaps-data-backup
|
|
# This is a YAML-formatted file.
|
|
|
|
# Global settings
|
|
global:
|
|
imageRegistry: "freeleaps-registry.azurecr.io"
|
|
imagePullSecrets: []
|
|
|
|
# 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
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "200m"
|
|
|
|
# Security context
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
# RBAC settings
|
|
rbac:
|
|
enabled: true
|
|
create: true
|
|
|
|
# ServiceAccount settings
|
|
serviceAccount:
|
|
enabled: true
|
|
create: true
|
|
name: "freeleaps-backup-sa"
|
|
annotations: {}
|
|
|
|
# Backup configuration
|
|
backup:
|
|
namespace: "freeleaps-prod"
|
|
pvcs:
|
|
- "gitea-shared-storage"
|
|
- "data-freeleaps-prod-gitea-postgresql-ha-postgresql-0"
|
|
snapshotClass: "csi-azuredisk-vsc"
|
|
timeout: 300 # seconds
|
|
|
|
# Labels and annotations
|
|
labels: {}
|
|
annotations: {} |