Skip to content

🐛 Reconcile HetznerClusters when Hetzner Secrets change (backport #2287) - #2384

Merged
abdullah599 merged 1 commit into
release-1.1from
abd/backport-2287-release-1.1
Dec 2, 2026
Merged

abdullah599 merged 1 commit into
release-1.1from
abd/backport-2287-release-1.1

Conversation

@abdullah599

Copy link
Copy Markdown
Contributor

Backports PR #2287 to release-1.1.

What this PR does / why we need it:
Reconcile HetznerClusters when Hetzner Secrets change

Which issue(s) this PR fixes:
Related to issue #2228 (fixed on main by PR #2287).

Special notes for your reviewer:
Backport of PR #2287 (commit a025ccd), adapted to release-1.1 in following places:

  • The code and tests use api/v1beta1. In the tests, spec.controlPlaneEndpoint is a *clusterv1beta1.APIEndpoint.
  • On release-1.1 the reasons SecretUnreachable, Invalid and Available exist only on the v1beta2 HCloudTokenAvailable condition. The v1beta1 condition uses other reasons. Therefore, the envtest spec checks the v1beta2 condition with isPresentAndFalseWithReasonV1Beta2 and isPresentAndTrueWithReasonV1Beta2.

TODOs:

  • add unit tests
  • squash commits before merge
  • documentation: none needed

@github-actions github-actions Bot added size/L Denotes a PR that changes 200-800 lines, ignoring generated files. area/code Changes made in the code directory labels Dec 1, 2026
@abdullah599
abdullah599 requested a review from Rivaldito December 1, 2026 11:53

@Rivaldito Rivaldito 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.

LGTM

@abdullah599
abdullah599 marked this pull request as ready for review December 1, 2026 14:12
@abdullah599
abdullah599 merged commit 738b492 into release-1.1 Dec 2, 2026
15 of 17 checks passed
@abdullah599
abdullah599 deleted the abd/backport-2287-release-1.1 branch December 2, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/code Changes made in the code directory size/L Denotes a PR that changes 200-800 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants