We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f4c5c6 commit e0e29dcCopy full SHA for e0e29dc
controlplane/kubeadm/internal/filters.go
@@ -544,6 +544,8 @@ func dropOmittableFields(spec *bootstrapv1.KubeadmConfigSpec) {
544
// instead the join configuration for the first control plane machine in the
545
// cluster is emptied out by KCP.
546
func isKubeadmConfigForJoin(c *bootstrapv1.KubeadmConfig) bool {
547
+ c = c.DeepCopy()
548
+ c.Spec.JoinConfiguration.Timeouts = bootstrapv1.Timeouts{}
549
return c.Spec.JoinConfiguration.IsDefined()
550
}
551
0 commit comments