Kyverno-policies from bootstrap.values must use _components from values.yaml

The Kyverno policy patch-bond-policy.yaml is now created only if capm3 is enabled (via the recent MR !2150 (merged)).
This policy needs also to be applied on the bootstrap cluster.

_component was defined as empty in the bootstrap.values file to prevent the management-cluster-only policy to be applied. Tt is no longer necessary to do this thanks to !2152 (merged). But we need to define mgmt_cluster:false in bootstrap.values.yaml file, because during bootstrap the sylva-units helmrelease is created with the values files in the following order: values.yaml, management.values.yaml, bootstrap.values.yaml, oci.values

Edited by Remi Le Trocquer

Merge request reports

Loading