Skip to content

Commit

Permalink
add disable inheritance api (#927)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kazakov <alkazako@redhat.com>
  • Loading branch information
mmulholla and alexeykazakov authored Nov 10, 2023
1 parent 0c00045 commit cdedd1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ spec:
spec:
description: SpaceRequestSpec defines the desired state of Space
properties:
disableInheritance:
description: "DisableInheritance indicates whether or not SpaceBindings
from the parent-spaces are automatically inherited to all sub-spaces
in the tree. \n Set to True to disable SpaceBinding inheritance
from the parent-spaces. Default is False."
type: boolean
targetClusterRoles:
description: TargetClusterRoles one or more label keys that define
a set of clusters where the Space can be provisioned. The target
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_spaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ spec:
spec:
description: SpaceSpec defines the desired state of Space
properties:
disableInheritance:
description: "DisableInheritance indicates whether or not SpaceBindings
from the parent-spaces are automatically inherited to all sub-spaces
in the tree. \n Set to True to disable SpaceBinding inheritance
from the parent-spaces. Default is False."
type: boolean
parentSpace:
description: "ParentSpace holds the name of the context (Space) from
which this space was created (requested), enabling hierarchy relationships
Expand Down

0 comments on commit cdedd1b

Please sign in to comment.