Skip to content

feat(autodiscovery/argocd): enhance support of ApplicationSet with multiple sources#8677

Merged
olblak merged 2 commits into
updatecli:mainfrom
af-beng:main
May 10, 2026
Merged

feat(autodiscovery/argocd): enhance support of ApplicationSet with multiple sources#8677
olblak merged 2 commits into
updatecli:mainfrom
af-beng:main

Conversation

@af-beng

@af-beng af-beng commented May 5, 2026

Copy link
Copy Markdown
Contributor

Issue

The ArgoCD autodiscovery plugin currently supports multiple sources only for Application resources,
not for ApplicationSet. When the autodiscovery runs in a folder containing ApplicationSets with
multiple sources, it fails to detect them:

ARGOCD
=======
Manifest detected: 0

Enhancement

Add support for ApplicationSet resources with multiple sources (spec.template.spec.sources[]).

Before

  • Application with single source: spec.source
  • Application with multiple sources: spec.sources[]
  • ApplicationSet with single source: spec.template.spec.source
  • ApplicationSet with multiple sources: spec.template.spec.sources[] ➡️ Not supported

After

  • Application with single source: spec.source
  • Application with multiple sources: spec.sources[]
  • ApplicationSet with single source: spec.template.spec.source
  • ApplicationSet with multiple sources: spec.template.spec.sources[]

Test

To test this pull request, you can run the following commands:

cd pkg/plugins/autodiscovery/argocd
go test -v

@olblak olblak added enhancement New feature or request autodiscovery All things related to the autodiscovery feature resource-argocd labels May 10, 2026
@olblak olblak merged commit d1a1490 into updatecli:main May 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autodiscovery All things related to the autodiscovery feature enhancement New feature or request resource-argocd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants