Skip to content

Commit 3d68806

Browse files
Remove inaccurate comment on KCP test
Signed-off-by: killianmuldoon <[email protected]>
1 parent 709d848 commit 3d68806

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

controlplane/kubeadm/internal/controllers/controller_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,6 @@ func TestKubeadmControlPlaneReconciler_ensureOwnerReferences(t *testing.T) {
824824

825825
t.Run("replace non-KCP controller with KCP controller reference", func(t *testing.T) {
826826
objs := []client.Object{fakeGenericMachineTemplateCRD, cluster.DeepCopy(), kcp.DeepCopy(), tmpl.DeepCopy()}
827-
// A simulacrum of the various Certificate and kubeconfig secrets
828-
// it's a little weird that this is one per KubeadmConfig rather than just whichever config was "first,"
829-
// but the intent is to ensure that the owner is changed regardless of which Machine we start with
830827
for _, purpose := range []secret.Purpose{secret.ClusterCA, secret.FrontProxyCA, secret.ServiceAccount, secret.EtcdCA} {
831828
s := clusterSecret.DeepCopy()
832829
// Set the secret name to the purpose

0 commit comments

Comments
 (0)