Skip to content

fix: gate gcp workload id cleanup#104

Merged
lukebond merged 2 commits into
mainfrom
fix/gate-gcp-workload-id-cleanup
Mar 20, 2026
Merged

fix: gate gcp workload id cleanup#104
lukebond merged 2 commits into
mainfrom
fix/gate-gcp-workload-id-cleanup

Conversation

@lukebond

Copy link
Copy Markdown
Contributor

fixes #103

release v2.3.0 introduced gcp workload identity but included a regression. if you weren't on GCP it would try to check for a CR for which the CRD was absent, causing an error and for reconcile to fail.

in this commit we plumb through the helm conditional used for the RBAC into the runtime and use it to gate all GCP WI related steps.

whilst i had tested the last change properly, i failed to re-test after taking some PR feedback which introduced the bug (making the RBAC conditional should have been accompanied with the gating).

@lukebond lukebond requested review from tillrohrmann and removed request for tillrohrmann March 20, 2026 10:59
@lukebond lukebond marked this pull request as draft March 20, 2026 10:59
release v2.3.0 introduced gcp workload identity but included a
regression. if you weren't on GCP it would try to check for a CR for
which the CRD was absent.

in this commit we plumb through the helm conditional used for the RBAC
into the runtime and use it to gate all GCP WI related steps.
@lukebond lukebond force-pushed the fix/gate-gcp-workload-id-cleanup branch from 9bd4e54 to d31489d Compare March 20, 2026 11:08
@lukebond lukebond marked this pull request as ready for review March 20, 2026 11:08
@lukebond lukebond requested a review from tillrohrmann March 20, 2026 11:08

@tillrohrmann tillrohrmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix @lukebond. LGTM. +1 for merging :-)

@lukebond lukebond merged commit 56af5ac into main Mar 20, 2026
2 checks passed
@lukebond lukebond deleted the fix/gate-gcp-workload-id-cleanup branch March 20, 2026 12:11
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Operator fails to reconcile on non-GCP clusters when gcpConfigConnector is not set (v2.3.0)

2 participants