mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
Merge pull request #3840 from brendandburns/api2
Add NodeSelector to the replication controller tests.
This commit is contained in:
commit
8f834134ef
@ -83,6 +83,9 @@ func newReplicationController(replicas int) api.ReplicationController {
|
||||
Image: "foo/bar",
|
||||
},
|
||||
},
|
||||
NodeSelector: map[string]string{
|
||||
"baz": "blah",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
@ -209,6 +212,9 @@ func TestCreateReplica(t *testing.T) {
|
||||
Image: "foo/bar",
|
||||
},
|
||||
},
|
||||
NodeSelector: map[string]string{
|
||||
"foo": "bar",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user