Skip to content

Conversation

@github-actions
Copy link

Backport

This will backport the following commits from main to release/v25.1.x:

Questions ?

Please refer to the Backport tool documentation

@github-actions
Copy link
Author

This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Aug 26, 2025
@chrisseto chrisseto removed the stale label Aug 26, 2025
@github-actions
Copy link
Author

github-actions bot commented Sep 1, 2025

This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Sep 1, 2025
@chrisseto chrisseto removed the stale label Sep 2, 2025
@github-actions
Copy link
Author

github-actions bot commented Sep 8, 2025

This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions
Copy link
Author

This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Sep 17, 2025
@github-actions
Copy link
Author

This PR was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this Sep 22, 2025
auto-merge was automatically disabled September 22, 2025 02:08

Pull request was closed

@chrisseto chrisseto reopened this Sep 23, 2025
@chrisseto chrisseto removed the stale label Sep 23, 2025
@chrisseto
Copy link
Contributor

This is likely failing due to needing #1109

@chrisseto chrisseto force-pushed the backport/release/v25.1.x/pr-1045 branch 3 times, most recently from a3d1af8 to ceac074 Compare September 24, 2025 18:34
@chrisseto chrisseto enabled auto-merge (rebase) September 24, 2025 19:26
@github-actions
Copy link
Author

This PR is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Sep 30, 2025
@chrisseto chrisseto removed the stale label Oct 1, 2025
@chrisseto
Copy link
Contributor

This is also failing due to missing #1121

Extract the simple syncing logic from `lifecycle.ResourceClient` into a
generic and dedicated `kube.Syncer` struct.

Future work (Console CR) will utilize this new struct to implement the bulk of
its logic.

Additionally fix a subtle bug in the existing sync algorithm. As
`client.InNamespace` was never provided to the `ResourceClient`'s `List` calls,
it would default to `"default"`. As the tests used the default namespace, this
issue wasn't visible. The primary trouble is that `Sync` would not correct
delete resources due to `List` not returning them. It's likely NodePools were
affected in some way but how is unclear.

(cherry picked from commit 4cf6660)
Add validation to `kube.Syncer` that asserts that Cluster scoped objects do NOT
have `.Namespace` set.

Setting .Namespace on cluster scoped objects causes a key mismatch in the
`toDelete` map which results in the syncer deleting objects it's just created.

(cherry picked from commit 43ad1a4)
@chrisseto chrisseto force-pushed the backport/release/v25.1.x/pr-1045 branch from ceac074 to e3a1404 Compare October 6, 2025 16:40
@chrisseto chrisseto merged commit 3358da2 into release/v25.1.x Oct 6, 2025
10 checks passed
@RafalKorepta RafalKorepta deleted the backport/release/v25.1.x/pr-1045 branch December 12, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants