# Constants

AsyncStorageClassType defines the 'asynchronous' storage policy.
BootstrapDevWorkspaceAttribute is an attribute applied to the top-level attributes in a DevWorkspace to configure the project-clone container to "bootstrap" the DevWorkspace from a devfile.yaml or .devfile.yaml file at the root of a cloned project.
CheCommonPVCName is the name of the common PVC equivalent used by Che.
CommonStorageClassType defines the 'common' storage policy, which is an alias of the 'per-user' storage policy, and operates in the same fashion as the 'per-user' storage policy.
ContainerContributionAttribute defines a container component as a container contribution that should be merged into an existing container in the devfile if possible.
ContainerOverridesAttribute is an attribute applied to a container component to specify arbitrary fields in that container.
ControllerServiceAccountNameEnvVar stores the name of the serviceaccount used in the controller.
Internal constants.
DevWorkspaceComponentName contains env var name which indicates from which devfile container component the container is created from.
DevWorkspaceCreator contains env var name which value is the uid of the identity who created the related devworkspace.
DevWorkspaceCreatorLabel is the label key for storing the UID of the user who created the workspace.
DevWorkspaceDebugStartAnnotation enables debugging workspace startup if set to "true".
DevWorkspaceDiscoverableServiceAnnotation marks a service in a devworkspace as created for a discoverable endpoint, as opposed to a service created to support the devworkspace itself.
DevWorkspaceEndpointNameAnnotation is the annotation key for storing an endpoint's name from the devfile representation.
DevWorkspaceGitCredentialLabel is the label key to specify if the secret is a git credential.
DevWorkspaceGitTLSLabel is the label key to specify if the configmap is credentials for accessing a git server.
DevWorkspaceId contains env var name which which value is the .status.devworkspaceId of the related DevWorkspace CR.
DevWorkspaceIDLabel is the label key to store workspace identifier.
DevWorkspaceIdleTimeout contains env var name which value is the suggested idle timeout.
DevWorkspaceIDLoggerKey is the key used to log workspace ID in the reconcile.
DevWorkspaceMountAccessModeAnnotation is an annotation key used to configure the access mode for configmaps and secrets mounted using the 'controller.devfile.io/mount-to-devworkspace' annotation.
DevWorkspaceMountAsAnnotation is the annotation key to configure the way how configmaps or secrets should be mounted.
DevWorkspaceMountAsEnv is the annotation value for DevWorkspaceMountAsAnnotation to mount the resource as environment variables via envFrom.
DevWorkspaceMountAsFile is the annotation value for DevWorkspaceMountAsAnnotation to mount the resource as files.
DevWorkspaceMountAsSubpath is the annotation value for DevWorkspaceMountAsAnnotation to mount the resource as files using subpath mounts.
DevWorkspaceMountLabel is the label key to store if a configmap, secret, or PVC should be mounted to the devworkspace.
DevWorkspaceMountPathAnnotation is the annotation key to store the mount path for the secret or configmap.
DevWorkspaceMountReadyOnlyAnnotation is an annotation to configure whether a mounted volume is as read-write or as read-only.
DevWorkspaceName contains env var name which value is name of the related DevWorkspace CR.
DevWorkspaceNameLabel is the label key to store workspace name.
DevWorkspaceNamespace contains env var name which value is the current namespace where DevWorkspace CR and related objects live.
DevWorkspacePullSecretLabel marks the intention that this secret should be used as a pull secret for devworkspaces within namespace Only secrets with 'true' value will be mount as pull secret Should be assigned to secrets with type docker config types (kubernetes.io/dockercfg and kubernetes.io/dockerconfigjson).
DevWorkspacePVCTypeLabel is the label key to identify PVCs used by DevWorkspaces and indicate their storage strategy.
DevWorkspaceRestrictedAccessAnnotation marks the intention that devworkspace access is restricted to only the creator; setting this annotation will cause devworkspace start to fail if webhooks are disabled.
DevWorkspaceStartedAtAnnotation holds the the time (unixnano) of when the devworkspace was started.
DevWorkspaceStartedStatusAnnotation is applied to subresources of DevWorkspaces to indicate the owning object's .spec.started value.
DevWorkspaceStopReasonAnnotation marks the reason why the devworkspace was stopped; when a devworkspace is restarted this annotation will be cleared.
DevWorkspaceStorageTypeAttribute defines the strategy used for provisioning storage for the workspace.
DevWorkspaceWatchConfigMapLabel marks a configmap so that it is watched by the controller.
DevWorkspaceWatchSecretLabel marks a secret so that it is watched by the controller.
No description provided by the author
EndpointURLAttribute is an attribute added to endpoints to denote the endpoint on the cluster that was created to route to this endpoint.
EphemeralStorageClassType defines the 'ephemeral' storage policy: all volumes are allocated as emptyDir volumes and so do not require cleanup.
ExternalDevWorkspaceConfiguration is an attribute that allows for specifying an (optional) external DevWorkspaceOperatorConfig which will merged with the internal/global DevWorkspaceOperatorConfig.
GitCredentialsConfigMapName is the name used for the configmap that stores the Git configuration for workspaces in a given namespace.
GitCredentialsMergedSecretName is the name for the merged Git credentials secret that is mounted to workspaces when Git credentials are defined.
Internal constants.
Internal constants.
Internal constants.
Internal constants.
MergeContributionAttribute defines a container component as a target for merging a container contribution.
MergedContributionsAttribute is applied as an attribute onto a component to list the components from the unflattened DevWorkspace that have been merged into the current component.
NamespacedConfigLabelKey is a label applied to configmaps to mark them as a configuration for all DevWorkspaces in the current namespace.
NamespaceNodeSelectorAnnotation is an annotation applied to a namespace to configure the node selector for all workspaces in that namespace.
NamespacePodTolerationsAnnotation is an annotation applied to a namespace to configure pod tolerations for all workspaces in that namespace.
PerUserStorageClassType defines the 'per-user' storage policy -- one PVC is provisioned per namespace and all devworkspace storage is mounted in it on subpaths according to devworkspace ID.
PerWorkspaceStorageClassType defines the 'per-workspace' storage policy: a PVC is provisioned for each workspace within the namespace.
PluginSourceAttribute is an attribute added to components, commands, and projects in a flattened DevWorkspace representation to signify where the respective component came from (i.e.
PodOverridesAttribute is an attribute applied to a container component or in global attributes to specify overrides for the pod spec used in the main workspace deployment.
ProjectCloneAttribute configures how the DevWorkspace will treat project cloning.
ProjectCloneDisable specifies that project cloning should be disabled.
PVCCleanupPodCPULimit is the cpu limit used for PVC clean up pods.
PVCCleanupPodCPURequest is the cpu request used for PVC clean up pods.
PVCCleanupPodMemoryLimit is the memory limit used for PVC clean up pods.
PVCCleanupPodMemoryRequest is the memory request used for PVC clean up pods.
Internal constants.
RBACCleanupFinalizer is used to block DevWorkspace deletion in order to ensure the workspace role and rolebinding are cleaned up correctly.
RoutingAnnotationInfix is the infix of the annotations of DevWorkspace that are passed down as annotation to the DevWorkspaceRouting objects.
RuntimeClassNameAttribute is an attribute added to a DevWorkspace to specify a runtimeClassName for container components in the DevWorkspace (pod.spec.runtimeClassName).
Internal constants.
ServiceAccountCleanupFinalizer is used to block DevWorkspace deletion when it is necessary to clean up additional non-workspace roles added to the workspace serviceaccount Deprecated: Will not be added to new workspaces but needs to be tracked for removal to ensure workspaces that used it previously will be cleaned up.
Internal constants.
No description provided by the author
Constants that are used in labels and annotations on DevWorkspace-related resources.
SSHSecretName is the name used for the secret that stores the SSH key data for workspaces in a given namespace.
SSHSecretPassphraseKey is the key used to retrieve the optional passphrase stored inside the SSH secret.
StarterProjectAttribute is an attribute applied to the top-level attributes in a DevWorkspace to specify which starterProject in the workspace should be cloned.
StorageCleanupFinalizer is used to block DevWorkspace deletion when it is necessary to clean up persistent storage used for the workspace.
WebhookRestartedAtAnnotation holds the the time (unixnano) of when the webhook server was forced to restart by controller.
WorkspaceEnvAttribute is an attribute that specifies a set of environment variables provided by a component that should be added to all workspace containers.
WorkspaceIdOverrideAnnotation is an annotation that can be applied to DevWorkspaces to override the default DevWorkspace ID assigned by the Operator.
WorkspaceSCCAttribute defines additional SCCs that should be added to the DevWorkspace.

# Variables

Labels which should be used for controller related objects.
Maximum number of excesss workspace pods when using the RollingUpdate deployment strategy.
Maximum number of unavailable workspace pods when using the RollingUpdate deployment strategy.