Skip to content

🌱 Tooling Update. No changes to Go Code (pre capi v1.11 (beta2))#1771

Merged
guettli merged 12 commits intov1.1.xfrom
tg/v1.1.x--tooling-update
Jan 26, 2026
Merged

🌱 Tooling Update. No changes to Go Code (pre capi v1.11 (beta2))#1771
guettli merged 12 commits intov1.1.xfrom
tg/v1.1.x--tooling-update

Conversation

@guettli
Copy link
Copy Markdown
Collaborator

@guettli guettli commented Dec 19, 2025

Tooling Update.

Changes to Go Code are in previous PR: #1772. Next PR: 🌱 Get e2e tests working again. #1783

  • Bumps local dev / CI tooling versions

    • Updates multiple tool versions in the Makefile, e.g. kustomize v4 → v5, kind 0.23 → 0.30, hcloud CLI 1.43 → 1.57, clusterctl 1.10.7 → 1.10.9, gotestsum 1.11 → 1.13, plus newer treemap tools.
    • Updates envtest Kubernetes version used by kubebuilder: 1.31.0 → 1.33.0 and updates the pinned setup-envtest tool revision.
    • Updates kubectl download target to v1.33.6 and ensures the tools bin dir exists before downloading.
  • Removes envsubst from the toolchain

    • Drops installing github.com/drone/envsubst and removes it from all-tools.
    • Corresponding targets no longer depend on envsubst (e.g. tilt-up, e2e conf generation, workload cluster creation).
  • Refactors cluster creation flow into scripts

    • Moved files from templates/cluster-templates/ to templates/cluster-templates/v1beta1/
    • Several make create-workload-cluster-* targets stop doing inline kubectl create secret + kustomize build + envsubst + apply and instead call a new helper script: ./hack/create-workload-cluster.sh (including --robot variants).
    • add-ssh-pub-key switches from an inline curl call to ./hack/ensure-ssh-key-in-hcloud.sh.
    • Adds extra “what to do next” / “use make watch” guidance messages after kubeconfig retrieval and cluster setup.
  • Moves generated cluster templates output

    • The cluster-templates target now writes outputs to a generated/ directory instead of templates/cluster-templates/*.yaml. .gitignore is updated accordingly (/generated/v1*).
  • Tiltfile tweaks

    • Updates default CAPI version in Tilt settings v1.8.10 → v1.10.9.
    • Changes CAPI install command to use clusterctl generate yaml instead of piping through envsubst, and does some formatting/cleanup.
  • Minor workflow file housekeeping

    • Two GitHub Actions YAMLs only change the missing newline at EOF (no functional change).

@github-actions github-actions Bot added size/L Denotes a PR that changes 200-800 lines, ignoring generated files. area/github Changes made in the github directory area/hack Changes made in the hack directory area/templates Changes made in the templates directory area/test Changes made in the test directory area/api Changes made in the api directory labels Dec 19, 2025
@guettli guettli force-pushed the tg/v1.1.x--tooling-update branch from b905c46 to 0b2a3b9 Compare December 19, 2025 08:34
@guettli guettli requested a review from janiskemper December 19, 2025 08:39
@guettli guettli changed the title 🌱 Tooling Update. No changes to controller 🌱 Tooling Update. No changes to controller (pre capi v1.11 (beta2)) Dec 19, 2025
@guettli guettli changed the title 🌱 Tooling Update. No changes to controller (pre capi v1.11 (beta2)) 🌱 Tooling Update. No changes to Go Code (pre capi v1.11 (beta2)) Dec 19, 2025
@guettli guettli changed the base branch from v1.1.x to tg/v1.1.x--go-updates December 23, 2025 10:32
guettli added a commit that referenced this pull request Jan 21, 2026
Untested. First #1772 (Go Updates), then #1771 (Tooling Updates), then this PR.
Base automatically changed from tg/v1.1.x--go-updates to v1.1.x January 23, 2026 06:30
| Hetzner Provider `v1.0.0-beta.34-43` | ✅ | ❌ |
| Hetzner Provider `v1.0.0` | ✅ | ✅ |
| Hetzner Provider `v1.0.1` | ✅ | ✅ |
| CAPI Version | Hetzner Provider `v1.0.x` | Hetzner Provider `v1.1.x` |
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.

I have to admit that I don't know in detail when we support which version, but it sounds strange to me that we will stop supporting anything older than 1.10 suddenly when going for 1.1.x... why would that be the case?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@janiskemper thank you for pointing me at this. This was not correct. I updated it. Please look again. Especially: caph v1.0.x does not support capi v1.11. And I relaxed the thing about old versions. I use a question mark now.

Comment thread hack/create-e2e-conf-file.sh Outdated

echo "# Created from $E2E_CONF_FILE_SOURCE by $0" >"$E2E_CONF_FILE"
$ENVSUBST <"$E2E_CONF_FILE_SOURCE" >>"$E2E_CONF_FILE"
$CLUSTERCLT generate yaml <"$E2E_CONF_FILE_SOURCE" >>"$E2E_CONF_FILE"
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.

CLUSTERCLT -> CLUSTERCTL I believe

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fixed.

@guettli guettli requested a review from janiskemper January 23, 2026 15:06
@guettli guettli merged commit abd60fc into v1.1.x Jan 26, 2026
2 checks passed
@guettli guettli deleted the tg/v1.1.x--tooling-update branch January 26, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api Changes made in the api directory area/github Changes made in the github directory area/hack Changes made in the hack directory area/templates Changes made in the templates directory area/test Changes made in the test 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