mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
fix
This commit is contained in:
parent
ff6947625d
commit
48d3d604af
24
cmd/integration/v1-controller.json
Normal file
24
cmd/integration/v1-controller.json
Normal 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}]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -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()
|
|
||||||
}},
|
}},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user