From 8fd2076be9024d81936b0ce7f8356a91693d0277 Mon Sep 17 00:00:00 2001 From: Maksim Fedotov Date: Wed, 15 Sep 2021 19:11:31 +0300 Subject: [PATCH] build(installer): Namespace labeling for tenant owners --- config/install.yaml | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/config/install.yaml b/config/install.yaml index 809610ecb..0b61098f0 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -857,6 +857,46 @@ spec: format: int32 minimum: 1 type: integer + userAnnotations: + description: Specifies allowed annotations the Tenant owner can place on any Namespace resource in the Tenant. Optional. + properties: + allowedLabels: + properties: + allowed: + items: + type: string + type: array + allowedRegex: + type: string + type: object + protectedLabels: + properties: + protected: + items: + type: string + type: array + type: object + type: object + userLabels: + description: Specifies allowed labels the Tenant owner can place on any Namespace resource in the Tenant. Optional. + properties: + allowedLabels: + properties: + allowed: + items: + type: string + type: array + allowedRegex: + type: string + type: object + protectedLabels: + properties: + protected: + items: + type: string + type: array + type: object + type: object type: object networkPolicies: description: Specifies the NetworkPolicies assigned to the Tenant. The assigned NetworkPolicies are inherited by any namespace created in the Tenant. Optional. @@ -1411,7 +1451,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: quay.io/clastix/capsule:v0.1.0 + image: quay.io/clastix/capsule:v0.1.0-rc5 imagePullPolicy: IfNotPresent name: manager ports: @@ -1472,6 +1512,7 @@ webhooks: - v1 operations: - CREATE + - UPDATE resources: - namespaces sideEffects: None