Skip to content

Commit 4f02991

Browse files
committed
fix: update CRD with primaryMAC + dc fields
1 parent 19750be commit 4f02991

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_hetznerrobotclusters.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ spec:
6767
- host
6868
- port
6969
type: object
70+
dc:
71+
description: |-
72+
DC is the Hetzner datacenter identifier (e.g. "fsn1", "nbg1", "hel1").
73+
Used in hostname generation: compute-<dc>-<serverID>.
74+
Defaults to "fsn1" if not set.
75+
type: string
7076
robotSecretRef:
7177
description: |-
7278
RobotSecretRef references the secret containing Hetzner Robot API credentials.

config/crd/bases/infrastructure.cluster.x-k8s.io_hetznerrobotmachines.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@ spec:
230230
RequeueAfter, so the controller checks this timestamp to skip premature reconciles.
231231
format: date-time
232232
type: string
233+
primaryMAC:
234+
description: |-
235+
PrimaryMAC is the MAC address of the primary NIC, auto-detected during rescue.
236+
Used for Talos deviceSelector — hardware-based NIC identification that works
237+
regardless of OS naming (rescue eth0 vs Talos enp193s0f0np0).
238+
type: string
233239
provisioningState:
234240
description: ProvisioningState is the current state of provisioning.
235241
type: string

0 commit comments

Comments
 (0)