Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update NSTemplateSet CRD #596

Merged
merged 4 commits into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading