Update autogenerated files

This commit is contained in:
John Gardiner Myers 2021-11-21 22:37:15 -08:00
parent 9d8cade672
commit 2ca1d7ddd7
7 changed files with 46 additions and 0 deletions

View File

@ -524,6 +524,9 @@ spec:
description: ConfigureCloudRoutes enables CIDRs allocated with description: ConfigureCloudRoutes enables CIDRs allocated with
to be configured on the cloud provider. to be configured on the cloud provider.
type: boolean type: boolean
enableLeaderMigration:
description: EnableLeaderMigration enables controller leader migration.
type: boolean
image: image:
description: Image is the OCI image of the cloud controller manager. description: Image is the OCI image of the cloud controller manager.
type: string type: string
@ -1884,6 +1887,9 @@ spec:
sync loop in the attach-detach controller. This can cause volumes sync loop in the attach-detach controller. This can cause volumes
to become mismatched with pods to become mismatched with pods
type: boolean type: boolean
enableLeaderMigration:
description: EnableLeaderMigration enables controller leader migration.
type: boolean
enableProfiling: enableProfiling:
description: EnableProfiling enables profiling via web interface description: EnableProfiling enables profiling via web interface
host:port/debug/pprof/ host:port/debug/pprof/

View File

@ -2167,6 +2167,7 @@ func autoConvert_v1alpha2_CloudControllerManagerConfig_To_kops_CloudControllerMa
out.LeaderElection = nil out.LeaderElection = nil
} }
out.UseServiceAccountCredentials = in.UseServiceAccountCredentials out.UseServiceAccountCredentials = in.UseServiceAccountCredentials
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -2195,6 +2196,7 @@ func autoConvert_kops_CloudControllerManagerConfig_To_v1alpha2_CloudControllerMa
out.LeaderElection = nil out.LeaderElection = nil
} }
out.UseServiceAccountCredentials = in.UseServiceAccountCredentials out.UseServiceAccountCredentials = in.UseServiceAccountCredentials
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -4968,6 +4970,7 @@ func autoConvert_v1alpha2_KubeControllerManagerConfig_To_kops_KubeControllerMana
out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths
out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin
out.EnableProfiling = in.EnableProfiling out.EnableProfiling = in.EnableProfiling
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -5037,6 +5040,7 @@ func autoConvert_kops_KubeControllerManagerConfig_To_v1alpha2_KubeControllerMana
out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths
out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin
out.EnableProfiling = in.EnableProfiling out.EnableProfiling = in.EnableProfiling
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }

View File

@ -782,6 +782,11 @@ func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManager
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }
@ -3114,6 +3119,11 @@ func (in *KubeControllerManagerConfig) DeepCopyInto(out *KubeControllerManagerCo
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }

View File

@ -2045,6 +2045,7 @@ func autoConvert_v1alpha3_CloudControllerManagerConfig_To_kops_CloudControllerMa
out.LeaderElection = nil out.LeaderElection = nil
} }
out.UseServiceAccountCredentials = in.UseServiceAccountCredentials out.UseServiceAccountCredentials = in.UseServiceAccountCredentials
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -2073,6 +2074,7 @@ func autoConvert_kops_CloudControllerManagerConfig_To_v1alpha3_CloudControllerMa
out.LeaderElection = nil out.LeaderElection = nil
} }
out.UseServiceAccountCredentials = in.UseServiceAccountCredentials out.UseServiceAccountCredentials = in.UseServiceAccountCredentials
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -4826,6 +4828,7 @@ func autoConvert_v1alpha3_KubeControllerManagerConfig_To_kops_KubeControllerMana
out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths
out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin
out.EnableProfiling = in.EnableProfiling out.EnableProfiling = in.EnableProfiling
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }
@ -4895,6 +4898,7 @@ func autoConvert_kops_KubeControllerManagerConfig_To_v1alpha3_KubeControllerMana
out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths out.AuthorizationAlwaysAllowPaths = in.AuthorizationAlwaysAllowPaths
out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin out.ExternalCloudVolumePlugin = in.ExternalCloudVolumePlugin
out.EnableProfiling = in.EnableProfiling out.EnableProfiling = in.EnableProfiling
out.EnableLeaderMigration = in.EnableLeaderMigration
return nil return nil
} }

View File

@ -728,6 +728,11 @@ func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManager
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }
@ -3055,6 +3060,11 @@ func (in *KubeControllerManagerConfig) DeepCopyInto(out *KubeControllerManagerCo
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }

View File

@ -820,6 +820,11 @@ func (in *CloudControllerManagerConfig) DeepCopyInto(out *CloudControllerManager
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }
@ -3229,6 +3234,11 @@ func (in *KubeControllerManagerConfig) DeepCopyInto(out *KubeControllerManagerCo
*out = new(bool) *out = new(bool)
**out = **in **out = **in
} }
if in.EnableLeaderMigration != nil {
in, out := &in.EnableLeaderMigration, &out.EnableLeaderMigration
*out = new(bool)
**out = **in
}
return return
} }

View File

@ -53,6 +53,8 @@ go_library(
"cloudup/resources/addons/nvidia.addons.k8s.io/k8s-1.16.yaml", "cloudup/resources/addons/nvidia.addons.k8s.io/k8s-1.16.yaml",
"cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.22.yaml.template", "cloudup/resources/addons/networking.projectcalico.org.canal/k8s-1.22.yaml.template",
"cloudup/resources/addons/external-dns.addons.k8s.io/k8s-1.19.yaml.template", "cloudup/resources/addons/external-dns.addons.k8s.io/k8s-1.19.yaml.template",
"cloudup/resources/addons/leader-migration.rbac.addons.k8s.io/k8s-1.23.yaml",
"cloudup/resources/addons/leader-migration.rbac.addons.k8s.io/k8s-1.25.yaml",
], ],
importpath = "k8s.io/kops/upup/models", importpath = "k8s.io/kops/upup/models",
visibility = ["//visibility:public"], visibility = ["//visibility:public"],