You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1da7e8f
Browse filesBrowse the repository at this point in the historyBrowse files
Validate ansibleHost and default ctlplane fixedIP for pre-provisioned nodes
For pre-provisioned dataplane nodes, ansibleHost must be a valid IP
address. This is required because the controller defaults the ctlplane
network fixedIP from ansibleHost during IPAM reservation, ensuring the
reserved IP matches the already-configured node interface. Without a
valid IP, IPAM could reserve a different address and break connectivity
during deployment.
The validating webhook enforces that for pre-provisioned nodes:
- ansibleHost is not empty
- ansibleHost is a valid IP address
The controller (ipam.go) defaults the ctlplane fixedIP from ansibleHost
when not already set. The ctlplane network is identified using the
netServiceNetMap from NetConfig, so it works regardless of the network
name.
Signed-off-by: rabi <ramishra@redhat.com>
0 commit comments