schema
stringclasses 471
values | key
stringlengths 0
203
| description
stringlengths 0
4.37k
| object
stringlengths 2
322k
|
---|---|---|---|
devfile.json | component | Describes component to which given action relates | {"type": "string"} |
devfile.json | env | Optional list of environment variables that have to be set before running the command | {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false}} |
devfile.json | group | Defines the group this command is part of | {"type": "object", "properties": {"isDefault": {"type": "boolean"}, "kind": {"type": "string", "enum": ["build", "run", "test", "debug", "deploy"]}}, "additionalProperties": false} |
devfile.json | isDefault | Identifies the default command for a given group kind | {"type": "boolean"} |
devfile.json | kind | Kind of group the command is part of | {"type": "string", "enum": ["build", "run", "test", "debug", "deploy"]} |
devfile.json | hotReloadCapable | Whether the command is capable to reload itself when source code changes. If set to `true` the command won't be restarted and it is expected to handle file changes on its own.
Default value is `false` | {"type": "boolean"} |
devfile.json | label | Optional label that provides a label for this command to be used in Editor UI menus for example | {"type": "string"} |
devfile.json | workingDir | Working directory where the command should be executed
Special variables that can be used:
- `$PROJECTS_ROOT`: A path where projects sources are mounted as defined by container component's sourceMapping.
- `$PROJECT_SOURCE`: A path to a project source ($PROJECTS_ROOT/<project-name>). If there are multiple projects, this will point to the directory of the first one. | {"type": "string"} |
devfile.json | id | Mandatory identifier that allows referencing this command in composite commands, from a parent, or in events. | {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"} |
devfile.json | components | Overrides of components encapsulated in a parent devfile or a plugin. Overriding is done according to K8S strategic merge patch standard rules. | {"type": "array", "items": {"type": "object", "required": ["name"], "oneOf": [{"required": ["container"]}, {"required": ["kubernetes"]}, {"required": ["openshift"]}, {"required": ["volume"]}, {"required": ["image"]}], "properties": {"attributes": {"type": "object", "additionalProperties": true}, "container": {"type": "object", "properties": {"annotation": {"type": "object", "properties": {"deployment": {"type": "object", "additionalProperties": {"type": "string"}}, "service": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "args": {"type": "array", "items": {"type": "string"}}, "command": {"type": "array", "items": {"type": "string"}}, "cpuLimit": {"type": "string"}, "cpuRequest": {"type": "string"}, "dedicatedPod": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "env": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false}}, "image": {"type": "string"}, "memoryLimit": {"type": "string"}, "memoryRequest": {"type": "string"}, "mountSources": {"type": "boolean"}, "sourceMapping": {"type": "string"}, "volumeMounts": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}}, "additionalProperties": false}}}, "additionalProperties": false}, "image": {"type": "object", "oneOf": [{"required": ["dockerfile"]}, {"required": ["autoBuild"]}], "properties": {"autoBuild": {"type": "boolean"}, "dockerfile": {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["devfileRegistry"]}, {"required": ["git"]}], "properties": {"args": {"type": "array", "items": {"type": "string"}}, "buildContext": {"type": "string"}, "devfileRegistry": {"type": "object", "properties": {"id": {"type": "string"}, "registryUrl": {"type": "string"}}, "additionalProperties": false}, "git": {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "fileLocation": {"type": "string"}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "rootRequired": {"type": "boolean"}, "uri": {"type": "string"}}, "additionalProperties": false}, "imageName": {"type": "string"}}, "additionalProperties": false}, "kubernetes": {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["inlined"]}], "properties": {"deployByDefault": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "inlined": {"type": "string"}, "uri": {"type": "string"}}, "additionalProperties": false}, "name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "openshift": {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["inlined"]}], "properties": {"deployByDefault": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "inlined": {"type": "string"}, "uri": {"type": "string"}}, "additionalProperties": false}, "volume": {"type": "object", "properties": {"ephemeral": {"type": "boolean"}, "size": {"type": "string"}}, "additionalProperties": false}}, "additionalProperties": false}} |
devfile.json | attributes | Map of implementation-dependant free-form YAML attributes. | {"type": "object", "additionalProperties": true} |
devfile.json | container | Allows adding and configuring devworkspace-related containers | {"type": "object", "properties": {"annotation": {"type": "object", "properties": {"deployment": {"type": "object", "additionalProperties": {"type": "string"}}, "service": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "args": {"type": "array", "items": {"type": "string"}}, "command": {"type": "array", "items": {"type": "string"}}, "cpuLimit": {"type": "string"}, "cpuRequest": {"type": "string"}, "dedicatedPod": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "env": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false}}, "image": {"type": "string"}, "memoryLimit": {"type": "string"}, "memoryRequest": {"type": "string"}, "mountSources": {"type": "boolean"}, "sourceMapping": {"type": "string"}, "volumeMounts": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}}, "additionalProperties": false}}}, "additionalProperties": false} |
devfile.json | annotation | Annotations that should be added to specific resources for this container | {"type": "object", "properties": {"deployment": {"type": "object", "additionalProperties": {"type": "string"}}, "service": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false} |
devfile.json | deployment | Annotations to be added to deployment | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | service | Annotations to be added to service | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | args | 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. | {"type": "array", "items": {"type": "string"}} |
devfile.json | command | 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. | {"type": "array", "items": {"type": "string"}} |
devfile.json | dedicatedPod | 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` | {"type": "boolean"} |
devfile.json | annotation | Annotations to be added to Kubernetes Ingress or Openshift Route | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | attributes | Map of implementation-dependant string-based free-form attributes.
Examples of Che-specific attributes:
- cookiesAuthEnabled: "true" / "false",
- type: "terminal" / "ide" / "ide-dev", | {"type": "object", "additionalProperties": true} |
devfile.json | exposure | Describes how the endpoint should be exposed on the network.
- `public` means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
- `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
- `none` means that the endpoint will not be exposed and will only be accessible inside the main devworkspace POD, on a local address.
Default value is `public` | {"type": "string", "enum": ["public", "internal", "none"]} |
devfile.json | path | Path of the endpoint URL | {"type": "string"} |
devfile.json | protocol | Describes the application and transport protocols of the traffic that will go through this endpoint.
- `http`: Endpoint will have `http` traffic, typically on a TCP connection. It will be automaticaly promoted to `https` when the `secure` field is set to `true`.
- `https`: Endpoint will have `https` traffic, typically on a TCP connection.
- `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. It will be automaticaly promoted to `wss` when the `secure` field is set to `true`.
- `wss`: Endpoint will have `wss` traffic, typically on a TCP connection.
- `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
- `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol.
Default value is `http` | {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]} |
devfile.json | secure | Describes whether the endpoint should be secured and protected by some authentication process. This requires a protocol of `https` or `wss`. | {"type": "boolean"} |
devfile.json | targetPort | Port number to be used within the container component. The same port cannot be used by two different container components. | {"type": "integer"} |
devfile.json | env | Environment variables used in this container.
The following variables are reserved and cannot be overridden via env:
- `$PROJECTS_ROOT`
- `$PROJECT_SOURCE` | {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false}} |
devfile.json | mountSources | 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. | {"type": "boolean"} |
devfile.json | sourceMapping | 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. | {"type": "string"} |
devfile.json | volumeMounts | List of volumes mounts that should be mounted is this container. | {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}}, "additionalProperties": false}} |
devfile.json | items | Volume that should be mounted to a component container | {"type": "object", "required": ["name"], "properties": {"name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}}, "additionalProperties": false} |
devfile.json | name | The volume mount name is the name of an existing `Volume` component. If several containers mount the same volume name then they will reuse the same volume and will be able to access to the same files. | {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"} |
devfile.json | path | The path in the component container where the volume should be mounted. If not path is mentioned, default path is the is `/<name>`. | {"type": "string"} |
devfile.json | image | Allows specifying the definition of an image for outer loop builds | {"type": "object", "oneOf": [{"required": ["dockerfile"]}, {"required": ["autoBuild"]}], "properties": {"autoBuild": {"type": "boolean"}, "dockerfile": {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["devfileRegistry"]}, {"required": ["git"]}], "properties": {"args": {"type": "array", "items": {"type": "string"}}, "buildContext": {"type": "string"}, "devfileRegistry": {"type": "object", "properties": {"id": {"type": "string"}, "registryUrl": {"type": "string"}}, "additionalProperties": false}, "git": {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "fileLocation": {"type": "string"}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "rootRequired": {"type": "boolean"}, "uri": {"type": "string"}}, "additionalProperties": false}, "imageName": {"type": "string"}}, "additionalProperties": false} |
devfile.json | autoBuild | Defines if the image should be built during startup.
Default value is `false` | {"type": "boolean"} |
devfile.json | dockerfile | Allows specifying dockerfile type build | {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["devfileRegistry"]}, {"required": ["git"]}], "properties": {"args": {"type": "array", "items": {"type": "string"}}, "buildContext": {"type": "string"}, "devfileRegistry": {"type": "object", "properties": {"id": {"type": "string"}, "registryUrl": {"type": "string"}}, "additionalProperties": false}, "git": {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "fileLocation": {"type": "string"}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "rootRequired": {"type": "boolean"}, "uri": {"type": "string"}}, "additionalProperties": false} |
devfile.json | args | The arguments to supply to the dockerfile build. | {"type": "array", "items": {"type": "string"}} |
devfile.json | buildContext | Path of source directory to establish build context. Defaults to ${PROJECT_SOURCE} in the container | {"type": "string"} |
devfile.json | devfileRegistry | Dockerfile's Devfile Registry source | {"type": "object", "properties": {"id": {"type": "string"}, "registryUrl": {"type": "string"}}, "additionalProperties": false} |
devfile.json | id | Id in a devfile registry that contains a Dockerfile. The src in the OCI registry required for the Dockerfile build will be downloaded for building the image. | {"type": "string"} |
devfile.json | registryUrl | Devfile Registry URL to pull the Dockerfile from when using the Devfile Registry as Dockerfile src. To ensure the Dockerfile gets resolved consistently in different environments, it is recommended to always specify the `devfileRegistryUrl` when `Id` is used. | {"type": "string"} |
devfile.json | git | Dockerfile's Git source | {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "fileLocation": {"type": "string"}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false} |
devfile.json | checkoutFrom | Defines from what the project should be checked out. Required if there are more than one remote configured | {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false} |
devfile.json | remote | The remote name should be used as init. Required if there are more than one remote configured | {"type": "string"} |
devfile.json | revision | The revision to checkout from. Should be branch name, tag or commit id. Default branch is used if missing or specified revision is not found. | {"type": "string"} |
devfile.json | fileLocation | Location of the Dockerfile in the Git repository when using git as Dockerfile src. Defaults to Dockerfile. | {"type": "string"} |
devfile.json | remotes | The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | rootRequired | Specify if a privileged builder pod is required.
Default value is `false` | {"type": "boolean"} |
devfile.json | uri | URI Reference of a Dockerfile. It can be a full URL or a relative URI from the current devfile as the base URI. | {"type": "string"} |
devfile.json | imageName | Name of the image for the resulting outerloop build | {"type": "string"} |
devfile.json | kubernetes | Allows importing into the devworkspace the Kubernetes resources defined in a given manifest. For example this allows reusing the Kubernetes definitions used to deploy some runtime components in production. | {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["inlined"]}], "properties": {"deployByDefault": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "inlined": {"type": "string"}, "uri": {"type": "string"}}, "additionalProperties": false} |
devfile.json | deployByDefault | Defines if the component should be deployed during startup.
Default value is `false` | {"type": "boolean"} |
devfile.json | annotation | Annotations to be added to Kubernetes Ingress or Openshift Route | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | attributes | Map of implementation-dependant string-based free-form attributes.
Examples of Che-specific attributes:
- cookiesAuthEnabled: "true" / "false",
- type: "terminal" / "ide" / "ide-dev", | {"type": "object", "additionalProperties": true} |
devfile.json | exposure | Describes how the endpoint should be exposed on the network.
- `public` means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
- `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
- `none` means that the endpoint will not be exposed and will only be accessible inside the main devworkspace POD, on a local address.
Default value is `public` | {"type": "string", "enum": ["public", "internal", "none"]} |
devfile.json | path | Path of the endpoint URL | {"type": "string"} |
devfile.json | protocol | Describes the application and transport protocols of the traffic that will go through this endpoint.
- `http`: Endpoint will have `http` traffic, typically on a TCP connection. It will be automaticaly promoted to `https` when the `secure` field is set to `true`.
- `https`: Endpoint will have `https` traffic, typically on a TCP connection.
- `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. It will be automaticaly promoted to `wss` when the `secure` field is set to `true`.
- `wss`: Endpoint will have `wss` traffic, typically on a TCP connection.
- `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
- `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol.
Default value is `http` | {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]} |
devfile.json | secure | Describes whether the endpoint should be secured and protected by some authentication process. This requires a protocol of `https` or `wss`. | {"type": "boolean"} |
devfile.json | targetPort | Port number to be used within the container component. The same port cannot be used by two different container components. | {"type": "integer"} |
devfile.json | inlined | Inlined manifest | {"type": "string"} |
devfile.json | uri | Location in a file fetched from a uri. | {"type": "string"} |
devfile.json | name | Mandatory name that allows referencing the component from other elements (such as commands) or from an external devfile that may reference this component through a parent or a plugin. | {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"} |
devfile.json | openshift | Allows importing into the devworkspace the OpenShift resources defined in a given manifest. For example this allows reusing the OpenShift definitions used to deploy some runtime components in production. | {"type": "object", "oneOf": [{"required": ["uri"]}, {"required": ["inlined"]}], "properties": {"deployByDefault": {"type": "boolean"}, "endpoints": {"type": "array", "items": {"type": "object", "required": ["name"], "properties": {"annotation": {"type": "object", "additionalProperties": {"type": "string"}}, "attributes": {"type": "object", "additionalProperties": true}, "exposure": {"type": "string", "enum": ["public", "internal", "none"]}, "name": {"type": "string", "maxLength": 15, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "path": {"type": "string"}, "protocol": {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]}, "secure": {"type": "boolean"}, "targetPort": {"type": "integer"}}, "additionalProperties": false}}, "inlined": {"type": "string"}, "uri": {"type": "string"}}, "additionalProperties": false} |
devfile.json | deployByDefault | Defines if the component should be deployed during startup.
Default value is `false` | {"type": "boolean"} |
devfile.json | annotation | Annotations to be added to Kubernetes Ingress or Openshift Route | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | attributes | Map of implementation-dependant string-based free-form attributes.
Examples of Che-specific attributes:
- cookiesAuthEnabled: "true" / "false",
- type: "terminal" / "ide" / "ide-dev", | {"type": "object", "additionalProperties": true} |
devfile.json | exposure | Describes how the endpoint should be exposed on the network.
- `public` means that the endpoint will be exposed on the public network, typically through a K8S ingress or an OpenShift route.
- `internal` means that the endpoint will be exposed internally outside of the main devworkspace POD, typically by K8S services, to be consumed by other elements running on the same cloud internal network.
- `none` means that the endpoint will not be exposed and will only be accessible inside the main devworkspace POD, on a local address.
Default value is `public` | {"type": "string", "enum": ["public", "internal", "none"]} |
devfile.json | path | Path of the endpoint URL | {"type": "string"} |
devfile.json | protocol | Describes the application and transport protocols of the traffic that will go through this endpoint.
- `http`: Endpoint will have `http` traffic, typically on a TCP connection. It will be automaticaly promoted to `https` when the `secure` field is set to `true`.
- `https`: Endpoint will have `https` traffic, typically on a TCP connection.
- `ws`: Endpoint will have `ws` traffic, typically on a TCP connection. It will be automaticaly promoted to `wss` when the `secure` field is set to `true`.
- `wss`: Endpoint will have `wss` traffic, typically on a TCP connection.
- `tcp`: Endpoint will have traffic on a TCP connection, without specifying an application protocol.
- `udp`: Endpoint will have traffic on an UDP connection, without specifying an application protocol.
Default value is `http` | {"type": "string", "enum": ["http", "https", "ws", "wss", "tcp", "udp"]} |
devfile.json | secure | Describes whether the endpoint should be secured and protected by some authentication process. This requires a protocol of `https` or `wss`. | {"type": "boolean"} |
devfile.json | targetPort | Port number to be used within the container component. The same port cannot be used by two different container components. | {"type": "integer"} |
devfile.json | inlined | Inlined manifest | {"type": "string"} |
devfile.json | uri | Location in a file fetched from a uri. | {"type": "string"} |
devfile.json | volume | Allows specifying the definition of a volume shared by several other components | {"type": "object", "properties": {"ephemeral": {"type": "boolean"}, "size": {"type": "string"}}, "additionalProperties": false} |
devfile.json | ephemeral | Ephemeral volumes are not stored persistently across restarts. Defaults to false | {"type": "boolean"} |
devfile.json | size | Size of the volume | {"type": "string"} |
devfile.json | id | Id in a registry that contains a Devfile yaml file | {"type": "string"} |
devfile.json | kubernetes | Reference to a Kubernetes CRD of type DevWorkspaceTemplate | {"type": "object", "required": ["name"], "properties": {"name": {"type": "string"}, "namespace": {"type": "string"}}, "additionalProperties": false} |
devfile.json | projects | Overrides of projects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules. | {"type": "array", "items": {"type": "object", "required": ["name"], "oneOf": [{"required": ["git"]}, {"required": ["zip"]}], "properties": {"attributes": {"type": "object", "additionalProperties": true}, "clonePath": {"type": "string"}, "git": {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "zip": {"type": "object", "properties": {"location": {"type": "string"}}, "additionalProperties": false}}, "additionalProperties": false}} |
devfile.json | attributes | Map of implementation-dependant free-form YAML attributes. | {"type": "object", "additionalProperties": true} |
devfile.json | clonePath | Path relative to the root of the projects to which this project should be cloned into. This is a unix-style relative path (i.e. uses forward slashes). The path is invalid if it is absolute or tries to escape the project root through the usage of '..'. If not specified, defaults to the project name. | {"type": "string"} |
devfile.json | git | Project's Git source | {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false} |
devfile.json | checkoutFrom | Defines from what the project should be checked out. Required if there are more than one remote configured | {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false} |
devfile.json | remote | The remote name should be used as init. Required if there are more than one remote configured | {"type": "string"} |
devfile.json | revision | The revision to checkout from. Should be branch name, tag or commit id. Default branch is used if missing or specified revision is not found. | {"type": "string"} |
devfile.json | remotes | The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | name | Project name | {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"} |
devfile.json | zip | Project's Zip source | {"type": "object", "properties": {"location": {"type": "string"}}, "additionalProperties": false} |
devfile.json | location | Zip project's source location address. Should be file path of the archive, e.g. file://$FILE_PATH | {"type": "string"} |
devfile.json | registryUrl | Registry URL to pull the parent devfile from when using id in the parent reference. To ensure the parent devfile gets resolved consistently in different environments, it is recommended to always specify the `registryUrl` when `id` is used. | {"type": "string"} |
devfile.json | starterProjects | Overrides of starterProjects encapsulated in a parent devfile. Overriding is done according to K8S strategic merge patch standard rules. | {"type": "array", "items": {"type": "object", "required": ["name"], "oneOf": [{"required": ["git"]}, {"required": ["zip"]}], "properties": {"attributes": {"type": "object", "additionalProperties": true}, "git": {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false}, "name": {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}, "subDir": {"type": "string"}, "zip": {"type": "object", "properties": {"location": {"type": "string"}}, "additionalProperties": false}}, "additionalProperties": false}} |
devfile.json | attributes | Map of implementation-dependant free-form YAML attributes. | {"type": "object", "additionalProperties": true} |
devfile.json | description | Description of a starter project | {"type": "string"} |
devfile.json | git | Project's Git source | {"type": "object", "properties": {"checkoutFrom": {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false}, "remotes": {"type": "object", "additionalProperties": {"type": "string"}}}, "additionalProperties": false} |
devfile.json | checkoutFrom | Defines from what the project should be checked out. Required if there are more than one remote configured | {"type": "object", "properties": {"remote": {"type": "string"}, "revision": {"type": "string"}}, "additionalProperties": false} |
devfile.json | remote | The remote name should be used as init. Required if there are more than one remote configured | {"type": "string"} |
devfile.json | revision | The revision to checkout from. Should be branch name, tag or commit id. Default branch is used if missing or specified revision is not found. | {"type": "string"} |
devfile.json | remotes | The remotes map which should be initialized in the git project. Projects must have at least one remote configured while StarterProjects & Image Component's Git source can only have at most one remote configured. | {"type": "object", "additionalProperties": {"type": "string"}} |
devfile.json | name | Project name | {"type": "string", "maxLength": 63, "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"} |
devfile.json | subDir | Sub-directory from a starter project to be used as root for starter project. | {"type": "string"} |
devfile.json | zip | Project's Zip source | {"type": "object", "properties": {"location": {"type": "string"}}, "additionalProperties": false} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.