Allows adding and configuring devworkspace-related containers
Name | Type | Description | Notes |
---|---|---|---|
annotation | V220DevfileComponentsItemsContainerAnnotation | [optional] | |
args | List<String> | The arguments to supply to the command running the dockerimage component. The arguments are supplied either to the default command provided in the image or to the overridden command. Defaults to an empty array, meaning use whatever is defined in the image. | [optional] |
command | List<String> | The command to run in the dockerimage component instead of the default one provided in the image. Defaults to an empty array, meaning use whatever is defined in the image. | [optional] |
cpuLimit | String | [optional] | |
cpuRequest | String | [optional] | |
dedicatedPod | Boolean | Specify if a container should run in its own separated pod, instead of running as part of the main development environment pod. Default value is `false` | [optional] |
endpoints | List<V220DevfileComponentsItemsContainerEndpoints> | [optional] | |
env | List<V220DevfileComponentsItemsContainerEnv> | Environment variables used in this container. The following variables are reserved and cannot be overridden via env: - `$PROJECTS_ROOT` - `$PROJECT_SOURCE` | [optional] |
image | String | ||
memoryLimit | String | [optional] | |
memoryRequest | String | [optional] | |
mountSources | Boolean | Toggles whether or not the project source code should be mounted in the component. Defaults to true for all component types except plugins and components that set `dedicatedPod` to true. | [optional] |
sourceMapping | String | Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the default value of /projects is used. | [optional] |
volumeMounts | List<V220DevfileComponentsItemsContainerVolumeMounts> | List of volumes mounts that should be mounted is this container. | [optional] |