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