Skip to content
Snippets Groups Projects
Commit 233038d5 authored by Fiona Neill's avatar Fiona Neill :wave:
Browse files

Merge branch 'workspaces-update' into 'master'

Update Workspaces documentation

See merge request !136673



Merged-by: default avatarFiona Neill <fneill@gitlab.com>
Approved-by: default avatarFiona Neill <fneill@gitlab.com>
Co-authored-by: default avatarAshraf Khamis <akhamis@gitlab.com>
parents 1ac96198 b089f1af
No related branches found
No related tags found
1 merge request!136673Update Workspaces documentation
Pipeline #1069955417 passed
......@@ -95,9 +95,13 @@ Only these properties are relevant to the GitLab implementation of the `containe
| `endpoints` | Port mappings to expose from the container. |
| `volumeMounts` | Storage volume to mount in the container. |
### Using variables in a Devfile
### Using variables in a devfile
You can also define variables to be used in your devfile. The `variables` object is a map of name-value pairs used for string replacement in the devfile. The [Devfile 2.2.0 documentation](https://devfile.io/docs/2.2.0/defining-variables) lists some limits on how and where you can use variables. In addition, you cannot define any variables whose names are prefixed with `gl-`/`gl_`/`GL-`/`GL_`.
You can define variables to use in your devfile.
The `variables` object is a map of name-value pairs that you can use for string replacement in the devfile.
Variables cannot have names that start with `gl-`, `gl_`, `GL-`, or `GL_`.
For more information about how and where to use variables, see the [devfile documentation](https://devfile.io/docs/2.2.0/defining-variables).
### Example configurations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment