Skip to content

Commit

Permalink
feat: Update NSTemplateSet CRD (#596)
Browse files Browse the repository at this point in the history
* add templates references to nstemplateset status
  • Loading branch information
mfrancisc authored Sep 25, 2024
1 parent f80135a commit 7e4e153
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_nstemplatesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,18 @@ spec:
status:
description: NSTemplateSetStatus defines the observed state of NSTemplateSet
properties:
clusterResources:
description: The cluster resources template (for cluster-wide quotas,
etc.) that was used last time to provision the NSTemplateSet CR
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
required:
- templateRef
type: object
conditions:
description: 'Conditions is an array of current NSTemplateSet conditions
Supported condition types: ConditionReady'
Expand Down Expand Up @@ -143,6 +155,31 @@ spec:
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
featureToggles:
description: FeatureToggles holds the list of feature toggles/flags
that were enabled when the NSTemplateSet CR was provisioned for
the last time
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaces:
description: The namespace templates that were used last time to provision
NSTemplateSet CR
items:
description: NSTemplateSetNamespace the namespace definition in
an NSTemplateSet resource
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
required:
- templateRef
type: object
type: array
x-kubernetes-list-type: atomic
provisionedNamespaces:
description: ProvisionedNamespaces is a list of Namespaces that were
provisioned by the NSTemplateSet.
Expand All @@ -160,6 +197,31 @@ spec:
type: object
type: array
x-kubernetes-list-type: atomic
spaceRoles:
description: The SpaceRole template and the users to whom the template
was applied for when the NSTemplateSet CR was provisioned for the
last time
items:
description: NSTemplateSetSpaceRole the role template and the users
to whom the templates should be applied to
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
usernames:
description: Usernames the usernames to which the template applies
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- templateRef
- usernames
type: object
type: array
x-kubernetes-list-type: atomic
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
Expand Down

0 comments on commit 7e4e153

Please sign in to comment.