Add 'name' label to created namespaces
@ -27,6 +27,9 @@ func createNamespace(client internalclientset.Interface, namespace string) error
ns := &core.Namespace{
ObjectMeta: metav1.ObjectMeta{
Name: namespace,
Labels: map[string]string{
"name": namespace,
},
}
_, err := client.Core().Namespaces().Create(ns)