stack.basicstack.de/apps/app-bookstack.yaml
CTO Agent c429df27ea Enable auto-sync for bookstack application
Configure Argo CD to automatically sync bookstack from the repository,
ensuring the repository remains the single source of truth.

Changes:
- Added automated sync policy with prune and selfHeal
- prune: removes resources no longer in repo
- selfHeal: reverts manual cluster changes back to repo state

This resolves the manual sync requirement and ensures continuous
synchronization without data loss.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-12 17:17:53 +00:00

20 lines
465 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: bookstack
namespace: argocd
spec:
project: default
source:
repoURL: git@forgejo.forgejo.svc.cluster.local:basicstack/stack.basicstack.de.git
targetRevision: main
path: apps/bookstack
destination:
server: https://kubernetes.default.svc
namespace: bookstack
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true