Skip to content

Commit 816a419

Browse files
committed
WIP: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 816a419

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

config/v1/types_infrastructure.go

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ type BareMetalPlatformStatus struct {
161161
// points to. It is the IP for a self-hosted load balancer in front of the API servers.
162162
APIServerInternalIP string `json:"apiServerInternalIP,omitempty"`
163163

164+
// Metal3 deployment specific config.
165+
CacheUrl string `json:"cacheUrl"`
166+
164167
// ingressIP is an external IP which routes to the default ingress controller.
165168
// The IP is a suitable target of a wildcard DNS record used to resolve default route host names.
166169
IngressIP string `json:"ingressIP,omitempty"`
@@ -172,6 +175,41 @@ type BareMetalPlatformStatus struct {
172175
// datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames
173176
// to the nodes in the cluster.
174177
NodeDNSIP string `json:"nodeDNSIP,omitempty"`
178+
179+
// Port where Ironic in a metal3 deployment listens on
180+
HttpPort string `json:"httpPort"`
181+
182+
// Interface on a Baremetal server where the provisioning network is connected
183+
ProvisioningInterface string `json:"provisioningInterface"`
184+
185+
// IP address of the Provisioning interface
186+
ProvisioningIp string `json:"provisioningIp"`
187+
188+
// IP address range from which Baremetal hosts can be assigned an IP
189+
DhcpRange string `json:"dhcpRange"`
190+
191+
// Path to the deploy Kernel. If not provided, it can be generated using
192+
// the provisioning IP.
193+
// +optional
194+
DeployKernelUrl string `json:"deployKernelUrl,omitempty"`
195+
196+
// Path to the deploy Ramdisk. If not provided, it can be generated using
197+
// the provisioning IP.
198+
// +optional
199+
DeployRamdiskUrl string `json:"deployRamdiskUrl,omitempty"`
200+
201+
// Path to the Ironic endpoint. If not provided, it can be generated using
202+
// the provisioning IP.
203+
// +optional
204+
IronicEndpoint string `json:"ironicEndpoint,omitempty"`
205+
206+
// Path to the Ironic Inspector endpoint. If not provided, it can be generated
207+
// using the provisioning IP.
208+
// +optional
209+
IronicInspectorEndpoint string `json:"ironicInspectorEndpoint,omitempty"`
210+
211+
// Metal3 deployment specific config.
212+
RhcosImageUrl string `json:"rhcosImageUrl"`
175213
}
176214

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

0 commit comments

Comments
 (0)