From cb9b560926b8a9be1b75ece7fd294b49f8bd9c02 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Mon, 5 Jul 2021 13:51:57 +0200 Subject: [PATCH] build(kustomize): support for Tenant state --- config/crd/bases/capsule.clastix.io_tenants.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/crd/bases/capsule.clastix.io_tenants.yaml b/config/crd/bases/capsule.clastix.io_tenants.yaml index 483f0061..70164085 100644 --- a/config/crd/bases/capsule.clastix.io_tenants.yaml +++ b/config/crd/bases/capsule.clastix.io_tenants.yaml @@ -567,6 +567,10 @@ spec: subresources: status: {} - additionalPrinterColumns: + - description: The actual state of the Tenant + jsonPath: .status.state + name: State + type: string - description: The max amount of Namespaces can be created jsonPath: .spec.namespaceQuota name: Namespace quota @@ -1135,8 +1139,15 @@ spec: type: array size: type: integer + state: + default: active + enum: + - cordoned + - active + type: string required: - size + - state type: object type: object served: true