Skip to content

Commit

Permalink
argocd: enable pruning of resources during sync (#925)
Browse files Browse the repository at this point in the history
* argocd: enable pruning of resources during sync

Syntax taken from https://github.com/argoproj/argo-cd/blob/52ffd7df4dd2c08b3dcf75dafd71ba194148f0f0/docs/operator-manual/application.yaml#L180-L208

See docs: https://argo-cd.readthedocs.io/en/stable/user-guide/sync-options/

See Slack thread: https://loculus.slack.com/archives/C05G172HL6L/p1707315262045529

* Update appset.yaml

---------

Co-authored-by: Theo Sanderson <theo@sndrsn.co.uk>
  • Loading branch information
corneliusroemer and theosanderson authored Feb 7, 2024
1 parent b8e62a5 commit b64311f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/appset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: ApplicationSet
metadata:
name: pp-preview
namespace: argocd
resourceVersion: "33491144"
spec:
goTemplate: true
generators:
Expand Down Expand Up @@ -50,3 +51,4 @@ spec:
syncPolicy:
automated:
selfHeal: true
prune: true

0 comments on commit b64311f

Please sign in to comment.