Unverified Commit 6149cba2 authored by Manuel Buil's avatar Manuel Buil Committed by GitHub

Merge pull request #4776 from manuelbuil/fix-rke2-ha-120

[Release 1.20] Remove Disables, Skips and DisableKubeProxy from the comparing configs
parents 7fc43002 97033103
...@@ -95,17 +95,14 @@ type Agent struct { ...@@ -95,17 +95,14 @@ type Agent struct {
// CriticalControlArgs contains parameters that all control plane nodes in HA must share // CriticalControlArgs contains parameters that all control plane nodes in HA must share
type CriticalControlArgs struct { type CriticalControlArgs struct {
ClusterDNS net.IP ClusterDNS net.IP
ClusterDomain string ClusterDomain string
ClusterIPRange *net.IPNet ClusterIPRange *net.IPNet
DisableCCM bool DisableCCM bool
DisableKubeProxy bool DisableNPC bool
DisableNPC bool FlannelBackend string
Disables map[string]bool NoCoreDNS bool
FlannelBackend string ServiceIPRange *net.IPNet
NoCoreDNS bool
ServiceIPRange *net.IPNet
Skips map[string]bool
} }
type Control struct { type Control struct {
...@@ -129,7 +126,9 @@ type Control struct { ...@@ -129,7 +126,9 @@ type Control struct {
DisableAPIServer bool DisableAPIServer bool
DisableControllerManager bool DisableControllerManager bool
DisableETCD bool DisableETCD bool
DisableKubeProxy bool
DisableScheduler bool DisableScheduler bool
Disables map[string]bool
ExtraAPIArgs []string ExtraAPIArgs []string
ExtraControllerArgs []string ExtraControllerArgs []string
ExtraCloudControllerArgs []string ExtraCloudControllerArgs []string
...@@ -138,6 +137,7 @@ type Control struct { ...@@ -138,6 +137,7 @@ type Control struct {
JoinURL string JoinURL string
IPSECPSK string IPSECPSK string
DefaultLocalStoragePath string DefaultLocalStoragePath string
Skips map[string]bool
ClusterInit bool ClusterInit bool
ClusterReset bool ClusterReset bool
ClusterResetRestorePath string ClusterResetRestorePath string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment