mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
Merge pull request #71199 from k-toyoda-pi/fix_node_authn_e2e_test
e2e/auth: fix NodeAuthenticator tests not working
This commit is contained in:
commit
8955857998
@ -68,7 +68,7 @@ var _ = SIGDescribe("[Feature:NodeAuthenticator]", func() {
|
|||||||
newSA := &v1.ServiceAccount{
|
newSA := &v1.ServiceAccount{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Namespace: ns,
|
Namespace: ns,
|
||||||
Name: "node-auth-newSA",
|
Name: "node-auth-newsa",
|
||||||
},
|
},
|
||||||
AutomountServiceAccountToken: &trueValue,
|
AutomountServiceAccountToken: &trueValue,
|
||||||
}
|
}
|
||||||
@ -98,7 +98,7 @@ func createNodeAuthTestPod(f *framework.Framework) *v1.Pod {
|
|||||||
Containers: []v1.Container{{
|
Containers: []v1.Container{{
|
||||||
Name: "test-node-authn",
|
Name: "test-node-authn",
|
||||||
Image: imageutils.GetE2EImage(imageutils.Hostexec),
|
Image: imageutils.GetE2EImage(imageutils.Hostexec),
|
||||||
Command: []string{"sleep 3600"},
|
Command: []string{"sleep", "3600"},
|
||||||
}},
|
}},
|
||||||
RestartPolicy: v1.RestartPolicyNever,
|
RestartPolicy: v1.RestartPolicyNever,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user