Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply HetznerBareMetalHost labels to resulting node #469

Closed
Privatecoder opened this issue Nov 22, 2022 · 1 comment
Closed

apply HetznerBareMetalHost labels to resulting node #469

Privatecoder opened this issue Nov 22, 2022 · 1 comment

Comments

@Privatecoder
Copy link
Contributor

/kind feature

Describe the solution you'd like

Adding labels to a HetznerBareMetalHost objects metadata can be used for the hostSelector of HetznerBareMetalMachineTemplate however it would be great if these labels would also be applied to the corresponding node in k8s.

An example would be to add Hetzner specific labels such as

apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: HetznerBareMetalHost
metadata:
  name: "test-123"
  labels:
    instance.hetzner.cloud/is-root-server: true

to remove the requirement to label them afterwards on a per-node-basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants