diff --git a/api/v1beta2/tenant_types.go b/api/v1beta2/tenant_types.go index dae975ef..569eb226 100644 --- a/api/v1beta2/tenant_types.go +++ b/api/v1beta2/tenant_types.go @@ -11,8 +11,9 @@ import ( // TenantSpec defines the desired state of Tenant. type TenantSpec struct { - // Specifies the owners of the Tenant. Mandatory. - Owners OwnerListSpec `json:"owners"` + // Specifies the owners of the Tenant. + // Optional + Owners OwnerListSpec `json:"owners,omitempty"` // Specifies options for the Namespaces, such as additional metadata or maximum number of namespaces allowed for that Tenant. Once the namespace quota assigned to the Tenant has been reached, the Tenant owner cannot create further namespaces. Optional. NamespaceOptions *NamespaceOptions `json:"namespaceOptions,omitempty"` // Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional. diff --git a/charts/capsule/crds/capsule.clastix.io_tenants.yaml b/charts/capsule/crds/capsule.clastix.io_tenants.yaml index 36516844..965e4a3d 100644 --- a/charts/capsule/crds/capsule.clastix.io_tenants.yaml +++ b/charts/capsule/crds/capsule.clastix.io_tenants.yaml @@ -2007,7 +2007,9 @@ spec: label. Optional. type: object owners: - description: Specifies the owners of the Tenant. Mandatory. + description: |- + Specifies the owners of the Tenant. + Optional items: properties: clusterRoles: @@ -2417,8 +2419,6 @@ spec: type: object type: object x-kubernetes-map-type: atomic - required: - - owners type: object status: description: Returns the observed state of the Tenant.