Skip to content

Conversation

the-technat
Copy link
Collaborator

@the-technat the-technat commented Jun 17, 2025

Fixes #556

The repository API returns 403 if a repository doesn't exist due to security reasons. That confuses the provider and leads to cases where the provider errors instead of detecting a drift between desired and actual state.

Context for this can be found in multiple sources:

Somehow I'm not able to filter the list of repositories with the given filters (it always returns all repos), thus I didn't filter at all.

@the-technat the-technat changed the title fix(repositories): use list api to search for repository) fix(repositories): use list api to search for repository Jun 17, 2025
@the-technat the-technat enabled auto-merge (squash) July 29, 2025 12:59
@the-technat the-technat merged commit ac21dcd into main Jul 29, 2025
9 checks passed
@the-technat the-technat deleted the issue/556 branch July 29, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repository Not Re-Creating After Manual Deletion in argoproj-labs/argocd Provider
2 participants