Allowing dash on Tenant namespace (#118)

* Allowing dashes in the Tenant name as DNS RFC-1123

* Allowing force tenant prefix with Namespaces with dash
This commit is contained in:
Dario Tranchitella
2020-10-31 19:43:46 +01:00
committed by GitHub
parent 7ae1c0ae32
commit e764b976aa
20 changed files with 94 additions and 105 deletions

View File

@@ -38,7 +38,7 @@ import (
var _ = Describe("creating namespaces within a Tenant with resources", func() {
tnt := &v1alpha1.Tenant{
ObjectMeta: metav1.ObjectMeta{
Name: "tenantresources",
Name: "tenant-resources",
},
Spec: v1alpha1.TenantSpec{
Owner: v1alpha1.OwnerSpec{