Skip to content

Commit

Permalink
Remove ControlPlaneLoadBalancing from dynamic conf
Browse files Browse the repository at this point in the history
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <[email protected]>
  • Loading branch information
juanluisvaladas committed May 7, 2024
1 parent 7fba5e0 commit 851be02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/k0s/v1beta1/clusterconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
}
Expand Down

0 comments on commit 851be02

Please sign in to comment.