Skip to content

Commit

Permalink
Adding finalizer to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
caiocsgomes committed Jun 23, 2024
1 parent 616ba20 commit 88960ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/app-of-apps/templates/template-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Application
metadata:
name: {{ $chart.name }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-options: Prune=true
argocd.argoproj.io/sync-wave: "{{ $chart.sync_wave | default 0 | toString }}"
Expand Down
2 changes: 2 additions & 0 deletions kubernetes/app-of-apps/templates/template-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ kind: Application
metadata:
name: {{ $manifest.name }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-options: Prune=true
argocd.argoproj.io/sync-wave: "{{ $manifest.sync_wave | default 0 | toString }}"
Expand Down

0 comments on commit 88960ca

Please sign in to comment.