@@ -29,7 +29,6 @@ import (
29
29
e2edebug "k8s.io/kubernetes/test/e2e/framework/debug"
30
30
e2ekubectl "k8s.io/kubernetes/test/e2e/framework/kubectl"
31
31
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
32
- imageutils "k8s.io/kubernetes/test/utils/image"
33
32
admissionapi "k8s.io/pod-security-admission/api"
34
33
)
35
34
@@ -93,16 +92,16 @@ func describe() {
93
92
}
94
93
})
95
94
96
- ginkgo .It ("deploys a pod requesting SGX enclave resources" , func (ctx context.Context ) {
95
+ ginkgo .It ("deploys a sgx-sdk-demo pod requesting SGX enclave resources" , func (ctx context.Context ) {
97
96
podSpec := & v1.Pod {
98
97
ObjectMeta : metav1.ObjectMeta {Name : "sgxplugin-tester" },
99
98
Spec : v1.PodSpec {
100
99
Containers : []v1.Container {
101
100
{
102
- Args : [] string { "-c" , "echo hello world" } ,
103
- Name : "testcontainer " ,
104
- Image : imageutils . GetE2EImage ( imageutils . BusyBox ) ,
105
- Command : []string {"/bin/sh " },
101
+ Name : "testcontainer" ,
102
+ Image : "intel/sgx-sdk-demo:devel " ,
103
+ WorkingDir : "/opt/intel/sgx-sample-app/" ,
104
+ Command : []string {"/opt/intel/sgx-sample-app/sgx-sample-app " },
106
105
Resources : v1.ResourceRequirements {
107
106
Requests : v1.ResourceList {"sgx.intel.com/epc" : resource .MustParse ("42" )},
108
107
Limits : v1.ResourceList {"sgx.intel.com/epc" : resource .MustParse ("42" )},
0 commit comments