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:
parent
1d3b2eddfb
commit
e45e6304b7
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue