Commit 48d3d604 authored by Chao Xu's avatar Chao Xu

fix

parent ff694762
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "nginx-controller",
"labels": {"name": "nginx"}
},
"spec": {
"replicas": 2,
"selector": {"name": "nginx"},
"template": {
"metadata": {
"labels": {"name": "nginx"}
},
"spec": {
"containers": [{
"name": "nginx",
"image": "nginx",
"ports": [{"containerPort": 80}]
}]
}
}
}
}
...@@ -160,7 +160,6 @@ func TestExtractPodsFromHTTP(t *testing.T) { ...@@ -160,7 +160,6 @@ func TestExtractPodsFromHTTP(t *testing.T) {
Image: "foo", Image: "foo",
TerminationMessagePath: "/dev/termination-log", TerminationMessagePath: "/dev/termination-log",
ImagePullPolicy: "Always", ImagePullPolicy: "Always",
//SecurityContext: securitycontext.ValidSecurityContextWithContainerDefaults()
}}, }},
}, },
}), }),
......
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