From c5f368522d5bd90989653e9dba0377b1de11d6f1 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 21 May 2025 12:09:36 +0300 Subject: [PATCH] kubeadm: fix dryrun-latest e2e by updating cluster-info fixture Recently in PR 131741 the kubeadm fixture for cluster-info in dryrun.go was updated to remove the 'preferences' struct. This means that the hardcoded JWS signature of the cluster-info fixture must also be updated. Update the signature to the expected one to fix e2e failures in dryrun-latest. https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-dryrun-latest --- cmd/kubeadm/app/util/apiclient/dryrun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/util/apiclient/dryrun.go b/cmd/kubeadm/app/util/apiclient/dryrun.go index c677e4c502e..0d879a44106 100644 --- a/cmd/kubeadm/app/util/apiclient/dryrun.go +++ b/cmd/kubeadm/app/util/apiclient/dryrun.go @@ -610,7 +610,7 @@ kind: Config users: null `) data := map[string]string{ - bootstrapapi.JWSSignatureKeyPrefix + "abcdef": "eyJhbGciOiJIUzI1NiIsImtpZCI6ImFiY2RlZiJ9..wUZ0q9o0VK1RWFptmSBOEem2bXHWrHyxrposHg0mb1w", + bootstrapapi.JWSSignatureKeyPrefix + "abcdef": "eyJhbGciOiJIUzI1NiIsImtpZCI6ImFiY2RlZiJ9..rh3cVKiU2mdt3CqHzC81sNE-4WQLRHMtXduHWfSbrIM", bootstrapapi.KubeConfigKey: kubeconfig, } return getConfigMap(metav1.NamespacePublic, bootstrapapi.ConfigMapClusterInfo, data)