File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ import (
69
69
e2enode "k8s.io/kubernetes/test/e2e/framework/node"
70
70
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
71
71
e2eservice "k8s.io/kubernetes/test/e2e/framework/service"
72
+ e2eskipper "k8s.io/kubernetes/test/e2e/framework/skipper"
72
73
e2etestfiles "k8s.io/kubernetes/test/e2e/framework/testfiles"
73
74
"k8s.io/kubernetes/test/e2e/scheduling"
74
75
testutils "k8s.io/kubernetes/test/utils"
@@ -646,6 +647,10 @@ var _ = SIGDescribe("Kubectl client", func() {
646
647
})
647
648
648
649
ginkgo .It ("should handle in-cluster config" , func () {
650
+ // TODO: Find a way to download and copy the appropriate kubectl binary, or maybe a multi-arch kubectl image
651
+ // for now this only works on amd64
652
+ e2eskipper .SkipUnlessNodeOSArchIs ("amd64" )
653
+
649
654
ginkgo .By ("adding rbac permissions" )
650
655
// grant the view permission widely to allow inspection of the `invalid` namespace and the default namespace
651
656
err := e2eauth .BindClusterRole (f .ClientSet .RbacV1 (), "view" , f .Namespace .Name ,
You can’t perform that action at this time.
0 commit comments