Skip to content

Commit

Permalink
build(installer): Namespace labeling for tenant owners
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Fedotov committed Sep 15, 2021
1 parent 840059c commit 8fd2076
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion config/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -1472,6 +1512,7 @@ webhooks:
- v1
operations:
- CREATE
- UPDATE
resources:
- namespaces
sideEffects: None
Expand Down

0 comments on commit 8fd2076

Please sign in to comment.