WorkspaceAccessStrategy¶
WorkspaceAccessStrategy¶
WorkspaceAccessStrategy is the Schema for the workspaceaccessstrategies API
Field |
Value or Description |
|---|---|
|
|
|
|
|
Refer to Kubernetes API documentation for fields of |
Spec defines the desired state of WorkspaceAccessStrategy |
|
Status defines the observed state of WorkspaceAccessStrategy |
AccessEnvTemplate¶
AccessEnvTemplate defines a template for environment variables
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Name of the environment variable |
||
|
ValueTemplate is a template string for the value |
AccessHTTPGetProbe¶
AccessHTTPGetProbe defines the HTTP GET action for access startup probing.
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
URLTemplate is a Go text/template resolving to the URL to probe. |
||
|
AdditionalSuccessStatusCodes extends the default success range (200–399) |
Optional: {} |
AccessResourceTemplate¶
AccessResourceTemplate defines a template for creating Kubernetes resources
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Kind of the Kubernetes resource to create |
||
|
ApiVersion of the Kubernetes resource |
||
|
NamePrefix is a prefix for the resource name |
||
|
Template is a YAML template string for the resource |
AccessStartupProbe¶
AccessStartupProbe defines how the controller verifies that access resources are serving traffic before marking the workspace as Available. Modeled after corev1.startupProbe — a one-shot gate that passes on the first successful response and is never checked again.
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
HTTPGet specifies an HTTP GET to perform against the access path. |
Optional: {} |
|
|
Number of seconds after access resources are created before probes are initiated. |
Optional: {} |
|
|
How often (in seconds) to perform the probe. Default: 2. Minimum: 1. |
Optional: {} |
|
|
Number of seconds after which the probe times out. Default: 5. Minimum: 1. |
Optional: {} |
|
|
Minimum consecutive failures before giving up and marking the workspace as Degraded. |
Optional: {} |
DeploymentModifications¶
DeploymentModifications defines modifications to apply to deployment spec
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
PodModifications describes modifications to apply to the pod template |
Optional: {} |
PodModifications¶
PodModifications defines pod-level modifications
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
AdditionalContainers to add to the pod (sidecars) |
Optional: {} |
|
|
Volumes to add to the pod |
Optional: {} |
|
|
InitContainers to add to the pod |
Optional: {} |
|
|
PrimaryContainerModifications to apply to the primary container |
Optional: {} |
PrimaryContainerModifications¶
PrimaryContainerModifications defines modifications for the primary container
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
VolumeMounts to add to the primary container |
Optional: {} |
|
|
MergeEnv defines environment variables to be added to the main container |
Optional: {} |
WorkspaceAccessStrategySpec¶
WorkspaceAccessStrategySpec defines the desired state of WorkspaceAccessStrategy
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
DisplayName is a human-readable name for this access strategy |
||
|
AccessResourceTemplates defines templates for resources created in the routes namespace |
||
|
AccessURLTemplate is a template string for constructing the workspace access URL |
Optional: {} |
|
|
BearerAuthURLTemplate is a template string for constructing the bearer auth URL |
Optional: {} |
|
|
CreateConnectionHandler specifies the default handler for connection creation (e.g., “k8s-native”). |
Optional: {} |
|
|
CreateConnectionHandlerMap maps connection types to handler references in “plugin:action” format. |
Optional: {} |
|
|
PodEventsHandler specifies the handler for pod lifecycle events in “plugin:action” format. |
Optional: {} |
|
|
CreateConnectionContext contains configuration for the connection handler |
Optional: {} |
|
|
PodEventsContext contains configuration for the pod events handler |
Optional: {} |
|
|
DeploymentModifications defines modifications to apply to workspace deployments |
Optional: {} |
|
|
AccessStartupProbe defines how the controller verifies that access resources are |
Optional: {} |
WorkspaceAccessStrategyStatus¶
WorkspaceAccessStrategyStatus defines the observed state of WorkspaceAccessStrategy
Appears in:
Field |
Description |
Default |
Validation |
|---|---|---|---|
|
Conditions represent the latest available observations of the resource’s state |
Optional: {} |