diff --git a/pkg/apis/k0s/v1beta1/clusterconfig_types.go b/pkg/apis/k0s/v1beta1/clusterconfig_types.go index cdbebe68487c..493d943ab656 100644 --- a/pkg/apis/k0s/v1beta1/clusterconfig_types.go +++ b/pkg/apis/k0s/v1beta1/clusterconfig_types.go @@ -396,6 +396,7 @@ func (c *ClusterConfig) Validate() (errs []error) { // - StorageSpec // - Network.ServiceCIDR // - Network.ClusterDomain +// - Network.ControlPlaneLoadBalancing // - Install func (c *ClusterConfig) GetClusterWideConfig() *ClusterConfig { c = c.DeepCopy() @@ -405,6 +406,7 @@ func (c *ClusterConfig) GetClusterWideConfig() *ClusterConfig { if c.Spec.Network != nil { c.Spec.Network.ServiceCIDR = "" c.Spec.Network.ClusterDomain = "" + c.Spec.Network.ControlPlaneLoadBalancing = nil } c.Spec.Install = nil }