Commit 52959b4b authored by toyoda's avatar toyoda

e2e/auth: fix NodeAuthenticator tests not working

parent 7ba79c31
...@@ -68,7 +68,7 @@ var _ = SIGDescribe("[Feature:NodeAuthenticator]", func() { ...@@ -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 { ...@@ -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,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment