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>
This commit is contained in:
parent
36b794a94e
commit
c429df27ea
1 changed files with 3 additions and 0 deletions
|
|
@ -13,5 +13,8 @@ spec:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: bookstack
|
namespace: bookstack
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue