From 44ffe0ddf5cb01e39db9561696e8113e037f9636 Mon Sep 17 00:00:00 2001 From: Maksim Fedotov Date: Mon, 9 Aug 2021 19:29:53 +0300 Subject: [PATCH] build(installer): CRD update for v1beta1 NamespaceOptions --- config/install.yaml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/config/install.yaml b/config/install.yaml index 5d8f2c0f..4143c10c 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -651,7 +651,7 @@ spec: name: State type: string - description: The max amount of Namespaces can be created - jsonPath: .spec.namespaceQuota + jsonPath: .spec.namespaceOptions.quota name: Namespace quota type: integer - description: The total amount of Namespaces in use @@ -823,22 +823,26 @@ spec: type: object type: array type: object - namespaceQuota: - description: Specifies the 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. - format: int32 - minimum: 1 - type: integer - namespacesMetadata: - description: Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. + namespaceOptions: + description: 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. properties: - additionalAnnotations: - additionalProperties: - type: string - type: object - additionalLabels: - additionalProperties: - type: string + additionalMetadata: + description: Specifies additional labels and annotations the Capsule operator places on any Namespace resource in the Tenant. Optional. + properties: + additionalAnnotations: + additionalProperties: + type: string + type: object + additionalLabels: + additionalProperties: + type: string + type: object type: object + quota: + description: Specifies the 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. + format: int32 + minimum: 1 + type: integer type: object networkPolicies: description: Specifies the NetworkPolicies assigned to the Tenant. The assigned NetworkPolicies are inherited by any namespace created in the Tenant. Optional.