remove finalizer from template

This commit is contained in:
2024-05-22 15:14:25 -05:00
parent ebc36941fa
commit 236cc83669

View File

@@ -14,7 +14,7 @@ metadata:
spec:
syncPolicy:
applicationsSync: create-only
preserveResourcesOnDeletion: true
preserveResourcesOnDeletion: false
generators:
- git:
repoURL: {{ $.Values.git.repo }}
@@ -23,9 +23,6 @@ spec:
- path: "{{ $.Values.git.path }}/{{ $stack.name }}/*"
template:
metadata:
name: '{{ `{{path.basename}}` }}'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
name: in-cluster