-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Explain how users can override the editor's container image (#2687
) * feat: Explain how users can override the editor's container image Signed-off-by: Oleksii Orel <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
modules/end-user-guide/pages/url-parameter-for-the-ide-image.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
:_content-type: CONCEPT | ||
:description: URL parameter for the IDE image | ||
:keywords: parameter, URL, IDE, image | ||
:navtitle: URL parameter for the IDE image | ||
//:page-aliases: | ||
|
||
[id="url-parameter-for-the-ide-image"] | ||
= URL parameter for the IDE image | ||
|
||
You can use the `editor-image` parameter to set the custom IDE image for the workspace. | ||
|
||
[IMPORTANT] | ||
==== | ||
* If the Git repository contains xref:defining-a-common-ide.adoc[`/.che/che-editor.yaml`] file, the custom editor will be overridden with the new IDE image. | ||
* If there is no xref:defining-a-common-ide.adoc[`/.che/che-editor.yaml`] file in the Git repository, the default editor will be overridden with the new IDE image. | ||
* If you want to override the supported IDE and change the target editor image, you can use both parameters together: `che-editor` and `editor-image` URL parameters. | ||
==== | ||
|
||
The URL parameter to override the IDE image is `editor-image=`: | ||
|
||
[source,subs="+quotes,+attributes,+macros"] | ||
---- | ||
pass:c,a,q[{prod-url}]#__<git_repository_url>__?editor-image=__<container_registry/image_name:image_tag>__ | ||
---- | ||
|
||
.Example: | ||
`pass:c,a,q[{prod-url}]#https://github.com/eclipse-che/che-docs?editor-image=quay.io/che-incubator/che-code:next` | ||
|
||
or | ||
|
||
`pass:c,a,q[{prod-url}]#https://github.com/eclipse-che/che-docs?che-editor=che-incubator/che-code/latest&editor-image=quay.io/che-incubator/che-code:next` |