remove redundant ephemeral host patch

Change-Id: Ie451d82cf87d72b1c21fbe588b92aec7f017becc
This commit is contained in:
Kostiantyn Kalynovskyi 2021-01-27 23:38:49 +00:00 committed by Kostyantyn Kalynovskyi
parent a527b7f1f5
commit ce3dcec6fe
4 changed files with 2 additions and 24 deletions

View File

@ -1,20 +0,0 @@
# This patches the node02 BMH to be suitable for ephemeral purposes
apiVersion: metal3.io/v1alpha1
kind: BareMetalHost
metadata:
annotations:
labels:
airshipit.org/ephemeral-node: "true"
airshipit.org/deploy-k8s: "false"
name: node02
spec:
online: true
bmc:
address: redfish+https://localhost:8443/redfish/v1/Systems/air-ephemeral
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

View File

@ -12,3 +12,4 @@ hosts:
- node01
- node02
- node03
- node04

View File

@ -3,6 +3,3 @@ kind: Kustomization
generators:
- hostgenerator
patchesStrategicMerge:
- ephemeral-patch.yaml

View File

@ -26,7 +26,7 @@ hosts:
node02:
bootMode: UEFI
macAddress: 52:54:00:b6:ed:02
bmcAddress: redfish+https://localhost:8443/redfish/v1/Systems/air-ephemeral
bmcAddress: redfish+https://10.23.25.1:8443/redfish/v1/Systems/air-ephemeral
bmcUsername: username
bmcPassword: password
disableCertificateVerification: false