hetzner: add node.kubernetes.io/instance-type label to template

apiv1.LabelInstanceType is the beta.kubernetes.io label, so we should
consider both that and the stable node.kubernetes.io label in the
template.
This commit is contained in:
Lauri Tirkkonen 2025-09-02 13:20:42 +09:00
parent 1d3b2eddfb
commit e45e6304b7
1 changed files with 1 additions and 0 deletions

View File

@ -389,6 +389,7 @@ func buildNodeGroupLabels(n *hetznerNodeGroup) (map[string]string, error) {
labels := map[string]string{
apiv1.LabelInstanceType: n.instanceType,
apiv1.LabelInstanceTypeStable: n.instanceType,
apiv1.LabelTopologyRegion: n.region,
apiv1.LabelArchStable: archLabel,
"csi.hetzner.cloud/location": n.region,