This commit is contained in:
Chao Xu 2015-06-02 09:48:29 -07:00
parent ff6947625d
commit 48d3d604af
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,24 @@
{
"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}]
}]
}
}
}
}

View File

@ -160,7 +160,6 @@ func TestExtractPodsFromHTTP(t *testing.T) {
Image: "foo",
TerminationMessagePath: "/dev/termination-log",
ImagePullPolicy: "Always",
//SecurityContext: securitycontext.ValidSecurityContextWithContainerDefaults()
}},
},
}),