mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
Add a validation that replicaSelector matches PodTemplate.Labels
This commit is contained in:
@@ -205,6 +205,7 @@ var validPodTemplate = api.PodTemplate{
|
||||
},
|
||||
},
|
||||
},
|
||||
Labels: map[string]string{"a": "b"},
|
||||
}
|
||||
|
||||
func TestCreateController(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user