Skip to content

Commit 392eaff

Browse files
committed
feat(capi-cluster/hetzner): CAPH v1.1.7, Ubuntu 26.04, hrobot provider IDs
- Bump global.caph.version v1.1.3 -> v1.1.7 (latest; bugfixes + additive v1beta2 conditions, no breaking changes). - Default the Hetzner OS image to Ubuntu 26.04: bare-metal installImage -> Ubuntu-2604-resolute-amd64-base.tar.zst (matches kubeaid-cli's default), hcloud imageName -> ubuntu-26.04. - Enable the canonical hrobot://<server-id> provider-ID format for bare-metal nodes via the capi.syself.com/use-hrobot-provider-id-for-baremetal annotation on the HetznerCluster (bare-metal/hybrid modes). Aligns CAPH's Machine providerID with what the upstream Hetzner CCM (robot support) writes to Node.spec.providerID. Affects newly-provisioned machines only.
1 parent f5a23b6 commit 392eaff

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

argocd-helm-charts/capi-cluster/charts/hetzner/templates/HetznerCluster.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ metadata:
44
name: {{ .Values.global.clusterName }}
55
labels:
66
cluster.x-k8s.io/name: {{ .Values.global.clusterName }}
7+
{{- if or (eq .Values.mode "bare-metal") (eq .Values.mode "hybrid") }}
8+
annotations:
9+
# Use the canonical hrobot://<server-id> provider-ID format for bare-metal
10+
# nodes instead of the legacy hcloud://bm-<id>. This matches what the
11+
# upstream Hetzner CCM (robot support) writes to Node.spec.providerID, so
12+
# each CAPI Machine binds to its Node. Affects only newly-provisioned
13+
# machines; existing machines keep their provider-ID (CAPH never changes a
14+
# ProviderID once set).
15+
capi.syself.com/use-hrobot-provider-id-for-baremetal: "true"
16+
{{- end }}
717

818
spec:
919
controlPlaneEndpoint:

argocd-helm-charts/capi-cluster/charts/hetzner/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ hcloud:
9494
# minLength: 1
9595
# description: HCloud image name used when provisioning HCloud machines.
9696
# @schema
97-
imageName: ubuntu-24.04
97+
imageName: ubuntu-26.04
9898

9999
bareMetal:
100100
# @schema
@@ -118,7 +118,7 @@ bareMetal:
118118
# minLength: 1
119119
# description: Path on the rescue system to the OS image tarball.
120120
# @schema
121-
imagePath: /root/.oldroot/nfs/images/Ubuntu-2404-noble-amd64-base.tar.gz
121+
imagePath: /root/.oldroot/nfs/images/Ubuntu-2604-resolute-amd64-base.tar.zst
122122
vg0:
123123
# @schema
124124
# type: integer

argocd-helm-charts/capi-cluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ global:
88
version: v2.9.2
99
enableMachinePools: false
1010
caph:
11-
version: v1.1.3
11+
version: v1.1.7
1212
capz:
1313
version: v1.21.1
1414
kubeaid:

0 commit comments

Comments
 (0)