From 63d6b0adc0eb0613396eae5fdca987c8779f2069 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 6 May 2023 00:17:55 +0200 Subject: [PATCH] feat(apps): Add deletion finalizer to Vaultwarden --- apps/vaultwarden.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/vaultwarden.yaml b/apps/vaultwarden.yaml index 26b728d..77b20d5 100644 --- a/apps/vaultwarden.yaml +++ b/apps/vaultwarden.yaml @@ -3,12 +3,22 @@ kind: Application metadata: name: vaultwarden namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io spec: project: default source: repoURL: https://git.halia.dev/athens-school/bitwarden.git targetRevision: k3s path: manifests + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false + - ApplyOutOfSyncOnly=true + - PruneLast=true destination: server: https://kubernetes.default.svc namespace: vaultwarden