Skip to content

Commit

Permalink
Remove finalizer from ApplicationSetTemplate
Browse files Browse the repository at this point in the history
ArgoCD automatically sets the `resources-finalizer.argocd.argoproj.io`
finalizer on the generated Application so this was redundant. Removing
it grants ClusterTemplate admins control over the finalizers on their
ApplicationSets should they wish to customize them.

Signed-off-by: Alex Misstear <[email protected]>
  • Loading branch information
amisstea committed Apr 23, 2024
1 parent 8b6fd6a commit 8fb0ee3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/v1alpha1/clustertemplateinstance_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ func (i *ClusterTemplateInstance) UpdateApplicationSet(
Template: argo.ApplicationSetTemplate{
ApplicationSetTemplateMeta: argo.ApplicationSetTemplateMeta{
Name: name,
Finalizers: []string{
argo.ResourcesFinalizerName,
},
Labels: map[string]string{
CTINameLabel: i.Name,
CTINamespaceLabel: i.Namespace,
Expand Down

0 comments on commit 8fb0ee3

Please sign in to comment.