Add a validation that replicaSelector matches PodTemplate.Labels

This commit is contained in:
Brendan Burns
2014-08-21 17:02:39 -07:00
parent 1c68247954
commit 5839378adc
3 changed files with 14 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ var validPodTemplate = api.PodTemplate{
},
},
},
Labels: map[string]string{"a": "b"},
}
func TestCreateController(t *testing.T) {