Kyverno policy to handle new interface-mappings scheme in BareMetalHost

What does this MR do and why?

Handle new interface-mappings scheme in BareMetalHost

Introduce 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"

Related reference(s)

This is required for sylva-core main branch to be compatible with sylva-capi-cluster main branch since we merged !3077 (merged)

Test coverage

Tests will come alongside with the bump of s-c-c in !3077 (merged)

Edited by Francois Eleouet

Merge request reports

Loading