- CNPG Barman backup to Hetzner S3 (s3://k8s-and-chill-backups/forgejo/cnpg/) - ScheduledBackup CR: daily at 2 AM, 30d retention, prefer-standby - Git repo rclone sync to S3 (s3://k8s-and-chill-backups/forgejo/git/) via CronJob at 3 AM - Requires secrets: forgejo-backup-s3 (S3 creds), hcloud-token (not used but created) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
788 B
YAML
32 lines
788 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
myks.dev/environment: production
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
name: app-production-forgejo
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: forgejo
|
|
server: https://kubernetes.default.svc
|
|
ignoreDifferences:
|
|
- group: ""
|
|
jsonPointers:
|
|
- /spec/volumeName
|
|
kind: PersistentVolumeClaim
|
|
project: env-production
|
|
source:
|
|
path: rendered/envs/production/forgejo
|
|
repoURL: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|
|
- RespectIgnoreDifferences=true
|