WorkspaceWorkspace is the Schema for the Workspaces API. Resource for managing workspaces in Spectro Cloud.
TypeMR
Providerprovider-palette
Groupspectrocloud.palette.m.crossplane.io
Scopenamespaced
Versionv1alpha1

1apiVersion: spectrocloud.palette.m.crossplane.io/v1alpha1

2kind: Workspace

kind
string
metadata
object
spec
object

WorkspaceSpec defines the desired state of Workspace

forProvider
required
object

(No description available)

array

(Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see below for nested schema) The backup policy for the cluster. If not specified, no backups will be taken.

object

Reference to a StorageLocation in backup to populate backupLocationId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a StorageLocation in backup to populate backupLocationId.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(Set of String) The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included. The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.

array

(Block Set) The namespaces for the cluster. (see below for nested schema) The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.

prefix
string
schedule
string
array

(Block List) The RBAC binding for the cluster. (see below for nested schema) The RBAC binding for the cluster.

namespace
string
role
object
array

(Block List) (see below for nested schema)

name
string
namespace
string
type
string
type
string
array

(Block Set, Min: 1) (see below for nested schema)

uid
string
name
string
array

(Block Set) The namespaces for the cluster. (see below for nested schema) The namespaces for the cluster.

array

(Block List, Max: 1) (see below for nested schema)

array

(List of String) List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest'] List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']

name
string
tags
array

(Set of String) Set of tag strings in the form key:value applied to the workspace. Set of tag strings in the form key:value applied to the workspace.

array

(Block List, Max: 1) Workspace quota default limits assigned to the namespace. (see below for nested schema) Workspace quota default limits assigned to the namespace.

cpu
number
gpu
number
memory
number
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

(Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see below for nested schema) The backup policy for the cluster. If not specified, no backups will be taken.

object

Reference to a StorageLocation in backup to populate backupLocationId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a StorageLocation in backup to populate backupLocationId.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(Set of String) The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included. The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.

array

(Block Set) The namespaces for the cluster. (see below for nested schema) The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.

prefix
string
schedule
string
array

(Block List) The RBAC binding for the cluster. (see below for nested schema) The RBAC binding for the cluster.

namespace
string
role
object
array

(Block List) (see below for nested schema)

name
string
namespace
string
type
string
type
string
array

(Block Set, Min: 1) (see below for nested schema)

uid
string
name
string
array

(Block Set) The namespaces for the cluster. (see below for nested schema) The namespaces for the cluster.

array

(Block List, Max: 1) (see below for nested schema)

array

(List of String) List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest'] List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']

name
string
tags
array

(Set of String) Set of tag strings in the form key:value applied to the workspace. Set of tag strings in the form key:value applied to the workspace.

array

(Block List, Max: 1) Workspace quota default limits assigned to the namespace. (see below for nested schema) Workspace quota default limits assigned to the namespace.

cpu
number
gpu
number
memory
number
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

WorkspaceStatus defines the observed state of Workspace.

object

(No description available)

array

(Block List, Max: 1) The backup policy for the cluster. If not specified, no backups will be taken. (see below for nested schema) The backup policy for the cluster. If not specified, no backups will be taken.

array

(Set of String) The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included. The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.

array

(Block Set) The namespaces for the cluster. (see below for nested schema) The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.

prefix
string
schedule
string
array

(Block List) The RBAC binding for the cluster. (see below for nested schema) The RBAC binding for the cluster.

namespace
string
role
object
array

(Block List) (see below for nested schema)

name
string
namespace
string
type
string
type
string
array

(Block Set, Min: 1) (see below for nested schema)

uid
string
id
string
name
string
array

(Block Set) The namespaces for the cluster. (see below for nested schema) The namespaces for the cluster.

array

(Block List, Max: 1) (see below for nested schema)

array

(List of String) List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest'] List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']

name
string
tags
array

(Set of String) Set of tag strings in the form key:value applied to the workspace. Set of tag strings in the form key:value applied to the workspace.

array

(Block List, Max: 1) Workspace quota default limits assigned to the namespace. (see below for nested schema) Workspace quota default limits assigned to the namespace.

cpu
number
gpu
number
memory
number
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string