Ruslan Aliev 0e9cd303cb Fix network and cloud data for ephemeral host
Change-Id: I954971d52e708ae5e89d99dfc926f6570570f94a
2020-03-13 16:32:52 -05:00

23 lines
673 B
YAML

apiVersion: metal3.io/v1alpha1
kind: BareMetalHost
metadata:
labels:
airshipit.org/ephemeral-node: "true"
name: master-0
spec:
online: true
bootMACAddress: 00:3b:8b:0c:ec:8b
networkData:
name: ephemeral-network-data
namespace: default
bmc:
address: redfish+http://localhost:8000/redfish/v1/Systems/air-ephemeral
credentialsName: master-0-bmc-secret
status:
provisioning:
# we need this status to make sure, that the host is not going to be
# reprovisioned by the ephemeral baremetal operator.
# when we have more flexible labeling system in place, we will not
# deliver this document to ephemeral cluster
state: externally provisioned