mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 21:21:14 +00:00
Tighten validation of Name and Namespace
This commit is contained in:
committed by
Clayton Coleman
parent
358ace610d
commit
a480794efc
@@ -143,7 +143,7 @@ func TestControllerDecode(t *testing.T) {
|
||||
func TestControllerParsing(t *testing.T) {
|
||||
expectedController := api.ReplicationController{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: "nginxController",
|
||||
Name: "nginx-controller",
|
||||
Labels: map[string]string{
|
||||
"name": "nginx",
|
||||
},
|
||||
|
Reference in New Issue
Block a user