Skip to content

Commit 9582a44

Browse files
committed
Rebase with main
1 parent b4a1ef0 commit 9582a44

File tree

6 files changed

+36
-78
lines changed

6 files changed

+36
-78
lines changed

api/bootstrap/kubeadm/v1beta1/zz_generated.conversion.go

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bootstrap/kubeadm/types/upstreamv1beta3/zz_generated.conversion.go

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bootstrap/kubeadm/types/upstreamv1beta4/zz_generated.conversion.go

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

controlplane/kubeadm/internal/filters_test.go

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -193,37 +193,14 @@ func TestMatchClusterConfiguration(t *testing.T) {
193193
g.Expect(err).ToNot(HaveOccurred())
194194
g.Expect(match).To(BeFalse())
195195
g.Expect(diff).To(BeComparableTo(`&v1beta2.ClusterConfiguration{
196-
<<<<<<< HEAD
197196
... // 4 identical fields
198197
Scheduler: {},
199198
DNS: {},
200199
- CertificatesDir: "bar",
201200
+ CertificatesDir: "foo",
202201
ImageRepository: "",
203202
FeatureGates: nil,
204-
<<<<<<< HEAD
205-
=======
206-
... // 3 identical fields
207-
<<<<<<< HEAD
208-
Scheduler: {},
209-
DNS: {},
210-
- CertificatesDir: "bar",
211-
+ CertificatesDir: "foo",
212-
ImageRepository: "",
213-
FeatureGates: nil,
214-
CertificateValidityPeriodSeconds: nil,
215-
>>>>>>> f7f9d4ad3 (Add CertificateValidityPeriod type to KubeadmConfig)
216-
=======
217-
Scheduler: {},
218-
DNS: {},
219-
- CertificatesDir: "bar",
220-
+ CertificatesDir: "foo",
221-
ImageRepository: "",
222-
FeatureGates: nil,
223-
>>>>>>> 930fc1fd7 (Add CACertificateValidityPeriod to Kubeadmconfig)
224-
=======
225203
... // 2 identical fields
226-
>>>>>>> d9fdd9291 (Address reveiw comments)
227204
}`))
228205
})
229206
t.Run("Return true if only omittable fields are changed", func(t *testing.T) {
@@ -1023,11 +1000,7 @@ func TestMatchesKubeadmBootstrapConfig(t *testing.T) {
10231000
g.Expect(err).ToNot(HaveOccurred())
10241001
g.Expect(match).To(BeFalse())
10251002
g.Expect(reason).To(BeComparableTo(`Machine KubeadmConfig ClusterConfiguration is outdated: diff: &v1beta2.ClusterConfiguration{
1026-
<<<<<<< HEAD
10271003
... // 4 identical fields
1028-
=======
1029-
... // 3 identical fields
1030-
>>>>>>> 930fc1fd7 (Add CACertificateValidityPeriod to Kubeadmconfig)
10311004
Scheduler: {},
10321005
DNS: {},
10331006
- CertificatesDir: "bar",
@@ -1835,7 +1808,7 @@ func TestUpToDate(t *testing.T) {
18351808
infraConfigs: defaultInfraConfigs,
18361809
machineConfigs: defaultMachineConfigs,
18371810
expectUptoDate: false,
1838-
expectLogMessages: []string{"Machine KubeadmConfig ClusterConfiguration is outdated: diff: &v1beta2.ClusterConfiguration{\n ... // 4 identical fields\n Scheduler: {},\n DNS: {},\n- CertificatesDir: \"foo\",\n+ CertificatesDir: \"bar\",\n ImageRepository: \"\",\n FeatureGates: nil,\n }"},
1811+
expectLogMessages: []string{"Machine KubeadmConfig ClusterConfiguration is outdated: diff: &v1beta2.ClusterConfiguration{\n ... // 4 identical fields\n Scheduler: {},\n DNS: {},\n- CertificatesDir: \"foo\",\n+ CertificatesDir: \"bar\",\n ImageRepository: \"\",\n FeatureGates: nil,\n ... // 2 identical fields\n }"},
18391812
expectConditionMessages: []string{"KubeadmConfig is not up-to-date"},
18401813
},
18411814
{

internal/api/bootstrap/kubeadm/v1alpha3/zz_generated.conversion.go

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/api/bootstrap/kubeadm/v1alpha4/zz_generated.conversion.go

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)