Skip to content

Conversation

@0xavi0
Copy link
Contributor

@0xavi0 0xavi0 commented Nov 25, 2025

This is a follow-up to: rancher/rancher#52755 , merged in Rancher recently and to avoid the problem when running Fleet standalone.

It simply sorts the AgentTolerations when creating the agent Bundle so they don't differ and create later different Content resources.

It also adds a unit test to test the Bundle's tolerations sorting, that could be used as the base to add more tests about the generated Bundle in the future.

Additional Information

Checklist

- [ ] I have updated the documentation via a pull request in the
fleet-docs repository.

@0xavi0 0xavi0 self-assigned this Nov 25, 2025
This is a follow-up to: rancher/rancher#52755 , merged in Rancher recently and to avoid the problem when running Fleet standalone.

It simply sorts the AgentTolerations when creating the agent Bundle so they don't differ and create later different _Content_ resources.

Signed-off-by: Xavi Garcia <[email protected]>
@0xavi0 0xavi0 force-pushed the tolerations-sorting branch from b9dfffe to 2eed782 Compare November 25, 2025 14:55
@0xavi0 0xavi0 added this to Fleet Nov 25, 2025
@0xavi0 0xavi0 added this to the v2.13.1 milestone Nov 25, 2025
@0xavi0 0xavi0 marked this pull request as ready for review November 26, 2025 09:45
@0xavi0 0xavi0 requested a review from a team as a code owner November 26, 2025 09:45
@kkaempf kkaempf moved this to 👀 In review in Fleet Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

1 participant