metallb: allow use with kubeadm (ignore enabled_conditions if metallb values are provided)
Summary
I recently tried to install metallb into my kubeadm+capm3 cluster but found the enabled_conditions blocked it unless I added a configmap with an override for enabled_conditions: [].
Details
Apart from it taking ages to work out why metallb wouldn't install on a bare metal cluster, I wonder whether a cleaner default would be that if the metallb values are provided, then this triggers enabled_conditions to be true?
An example of what could be used?:
enabled_conditions:
- '{{ or (.Values.cluster.capi_providers.infra_provider | eq "capd")
(.Values.cluster.capi_providers.bootstrap_provider | eq "cabpr")
(.Values.cluster.capi_providers.bootstrap_provider | eq "cabpoa")
(.Values.metallb | default dict | keys | len | ne 0) }}'If not this, then I will propose some documentation to make it clearer.