Use & test new bmh interface-mappings scheme

What does this MR do and why?

Test changes proposed in sylva-projects/sylva-elements/helm-charts/sylva-capi-cluster!474 (merged)

I depends on the MR that adds the kyverno policy required to map BareMetalHost annotations:

interface-name.sylva.org/nic2: ens4

to:

interface-mac.sylva.org/nic2: "52:54:00:44:44:01"

based on inspection data:

status:
 hardware:
   nics:
   - ip: 192.168.10.11
     mac: "52:54:00:44:44:01"
     model: 0x1af4 0x0001
     name: ens4

It also adapts the base-capm3-virt test values to test the various cases:

  • Backward compatibility with previous schema without interface_mappings (done in md0)
  • interface_mappings based on mac_address
  • interface_mappings based on inspection_name

Related reference(s)

Depends on: sylva-projects/sylva-elements/helm-charts/sylva-capi-cluster!474 (merged)

Relates to: sylva-projects/sylva-elements/helm-charts/sylva-capi-cluster#158 (closed) And to: #1669 (comment 2149794792)

Edited by Francois Eleouet

Merge request reports

Loading