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