From 31863b53af7b60c2889c3089c02a72614129650f Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Thu, 22 Jul 2021 18:03:53 +0200 Subject: [PATCH] build(kustomize): Tenant or Namespace scope for resource quota budgets --- config/crd/bases/capsule.clastix.io_tenants.yaml | 7 +++++++ config/install.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/config/crd/bases/capsule.clastix.io_tenants.yaml b/config/crd/bases/capsule.clastix.io_tenants.yaml index edcf0931..053b1569 100644 --- a/config/crd/bases/capsule.clastix.io_tenants.yaml +++ b/config/crd/bases/capsule.clastix.io_tenants.yaml @@ -1126,6 +1126,13 @@ spec: type: array type: object type: array + scope: + default: Tenant + description: Define if the Resource Budget should compute resource across all Namespaces in the Tenant or individually per cluster. Default is Tenant + enum: + - Tenant + - Namespace + type: string type: object serviceOptions: description: Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional. diff --git a/config/install.yaml b/config/install.yaml index aa571daa..5d8f2c0f 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -1205,6 +1205,13 @@ spec: type: array type: object type: array + scope: + default: Tenant + description: Define if the Resource Budget should compute resource across all Namespaces in the Tenant or individually per cluster. Default is Tenant + enum: + - Tenant + - Namespace + type: string type: object serviceOptions: description: Specifies options for the Service, such as additional metadata or block of certain type of Services. Optional.