Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source hydrator fails with controller is configured to ignore cluster #21986

Open
crenshaw-dev opened this issue Feb 24, 2025 · 0 comments · May be fixed by #21985
Open

Source hydrator fails with controller is configured to ignore cluster #21986

crenshaw-dev opened this issue Feb 24, 2025 · 0 comments · May be fixed by #21985
Labels
bug Something isn't working component:hydrator hydrator Issues related to the manifest hydrator. version:2.14 Latest confirmed affected version is 2.14

Comments

@crenshaw-dev
Copy link
Member

Describe the bug

When running the app controller with multiple shards, source hydration will fail if not all apps for a given repo/sourceRevision/targetBranch group are destined for clusters on the same shard.

To Reproduce

Set up Argo CD with multiple shards and multiple clusters. Make sure two of the clusters are on different shards.

Set up two apps destined for the two different clusters. Set up sourceHydrator on each to point to the same repo, sourceRevision, and targetBranch.

Watch the hydrator fail with failed to get cluster version for cluster... controller is configured to ignore cluster.

Expected behavior

The hydrator shouldn't try to get the cluster server version and API versions for each app at all. The hydrator doesn't even use those values, because they wouldn't be deterministic.

Screenshots

Version

2.14.0

@crenshaw-dev crenshaw-dev added bug Something isn't working component:hydrator hydrator Issues related to the manifest hydrator. version:2.14 Latest confirmed affected version is 2.14 labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:hydrator hydrator Issues related to the manifest hydrator. version:2.14 Latest confirmed affected version is 2.14
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant