Skip to content

Commit 25b069a

Browse files
committed
Add Metal3 specific config items to Baremetal Infrastructure status
During the deployment of "metal3", the config were made available via a ConfigMap. This change adds "metal3" configs to the BareMetalPlatformStatus.
1 parent d927894 commit 25b069a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

config/v1/types_infrastructure.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,18 @@ type BareMetalPlatformStatus struct {
172172
// datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames
173173
// to the nodes in the cluster.
174174
NodeDNSIP string `json:"nodeDNSIP,omitempty"`
175+
176+
// List of configs required to configure "metal3"
177+
HttpPort string `json:"httpPort"`
178+
ProvisioningInterface string `json:"provisioningInterface"`
179+
ProvisioningIp string `json:"provisioningIp"`
180+
DhcpRange string `json:"dhcpRange"`
181+
DeployKernelUrl string `json:"deployKernelUrl,omitempty"`
182+
DeployRamdiskUrl string `json:"deployRamdiskUrl,omitempty"`
183+
IronicEndpoint string `json:"ironicEndpoint,omitempty"`
184+
IronicInspectorEndpoint string `json:"ironicInspectorEndpoint,omitempty"`
185+
CacheUrl string `json:"cacheUrl"`
186+
RhcosImageUrl string `json:"rhcosImageUrl"`
175187
}
176188

177189
// OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider.

0 commit comments

Comments
 (0)