mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #109719 from stlaz/e2e_nodeauthn_nosasecret
auth e2e: node_authn test: don't expect a SA secret
This commit is contained in:
commit
4ab90ccebb
@ -53,13 +53,6 @@ var _ = SIGDescribe("[Feature:NodeAuthenticator]", func() {
|
||||
|
||||
nodeIPs := e2enode.GetAddressesByTypeAndFamily(&nodes.Items[0], v1.NodeInternalIP, family)
|
||||
framework.ExpectNotEqual(len(nodeIPs), 0)
|
||||
|
||||
// make sure ServiceAccount admission controller is enabled, so secret generation on SA creation works
|
||||
saName := "default"
|
||||
sa, err := f.ClientSet.CoreV1().ServiceAccounts(ns).Get(context.TODO(), saName, metav1.GetOptions{})
|
||||
framework.ExpectNoError(err, "failed to retrieve service account (%s:%s)", ns, saName)
|
||||
framework.ExpectNotEqual(len(sa.Secrets), 0)
|
||||
|
||||
})
|
||||
|
||||
ginkgo.It("The kubelet's main port 10250 should reject requests with no credentials", func() {
|
||||
|
Loading…
Reference in New Issue
Block a user