Add NodeSelector to the PodTemplate in v1beta1 and v1beta2

This commit is contained in:
Brendan Burns
2015-01-26 15:55:02 -08:00
parent 6410f37a32
commit 33ee41090e
5 changed files with 14 additions and 1 deletions

View File

@@ -91,7 +91,6 @@ func fuzzerFor(t *testing.T, version string, src rand.Source) *fuzz.Fuzzer {
j.Template = &api.PodTemplateSpec{}
}
j.Template.ObjectMeta = api.ObjectMeta{Labels: j.Template.ObjectMeta.Labels}
j.Template.Spec.NodeSelector = nil
c.Fuzz(&j.Selector)
j.Replicas = int(c.RandUint64())
},