Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Oct 1, 2025

Backport

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

Questions ?

Please refer to the Backport tool documentation

@chrisseto
Copy link
Contributor

This will be blocked until #1124 is merged due to the dependency on the 5.10.x chart.

@chrisseto chrisseto force-pushed the backport/release/v25.1.x/pr-1121 branch 2 times, most recently from a84d752 to 708164c Compare October 2, 2025 21:04
@chrisseto chrisseto enabled auto-merge (rebase) October 2, 2025 21:04
`client.Client` and `kube.Ctl` treated `namespace` (`client.InNamespace`) as an
optional parameter. If not provided, it default to `"default"`.

This parameter has been missed multiple times across various places in our
codebase and resulted in latent errors, often because tests utilised the
default namespace.

This commit changes the signature of `Ctl.List` to require a `namespace string`
parameter to make it impossible to forget. It additionally adds it to a few
places (lifecycle client) that it was previously forgotten.

(cherry picked from commit 9e08d14)

# Conflicts:
#	charts/redpanda/chart_test.go
#	go.work.sum
#	operator/internal/controller/vectorized/cluster_controller_test.go
#	operator/internal/lifecycle/client.go
#	pkg/kube/ctl.go
#	pkg/kube/syncer.go
#	pkg/kube/syncer_test.go
@chrisseto chrisseto force-pushed the backport/release/v25.1.x/pr-1121 branch from 708164c to 24d3da2 Compare October 6, 2025 13:21
@chrisseto chrisseto merged commit 5642497 into release/v25.1.x Oct 6, 2025
10 checks passed
@RafalKorepta RafalKorepta deleted the backport/release/v25.1.x/pr-1121 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.

2 participants