Merge "Allow labelling of BMHs"
This commit is contained in:
commit
9caf5ed4f6
@ -47,7 +47,10 @@ template: |
|
||||
kind: BareMetalHost
|
||||
metadata:
|
||||
annotations:
|
||||
{{- if $host.labels }}
|
||||
labels:
|
||||
{{ toYaml $host.labels | indent 4 }}
|
||||
{{- end }}
|
||||
name: {{ $hostName }}
|
||||
spec:
|
||||
online: false
|
||||
|
@ -23,6 +23,8 @@ hosts:
|
||||
oam: 52:54:00:9b:27:4c
|
||||
pxe: 52:54:00:b6:ed:31
|
||||
hardwareProfile: default # defined in the hostgenerator-m3 function
|
||||
labels: # optional
|
||||
airshipit.org/example-label: "label-bmh-like-this"
|
||||
node02:
|
||||
bootMode: legacy
|
||||
macAddress: 52:54:00:b6:ed:02
|
||||
|
Loading…
Reference in New Issue
Block a user