-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File renamed, content simplified. (#3)
- Loading branch information
Showing
4 changed files
with
27 additions
and
39 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
37 changes: 0 additions & 37 deletions
37
src/main/pages/che-7/end-user-guide/con_generate-name-of-a-workspace.adoc
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/main/pages/che-7/end-user-guide/proc_generating-workspace-names.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,25 @@ | ||
// generate-name-of-a-workspace | ||
|
||
[id="generating-workspace-names_{context}"] | ||
= Generating workspace names | ||
|
||
To specify a prefix for automatically generated workspace names, set the `generateName` parameter in the `devfile.yaml` file: | ||
|
||
[source,yaml] | ||
---- | ||
apiVersion: 1.0.0 | ||
metadata: | ||
generateName: che- | ||
---- | ||
|
||
The workspace name will be in the `<generateName>YYYYY` format (for example, `che-2y7kp`). `Y` is random `[a-z0-9]` character. | ||
|
||
The following naming rules apply when creating workspaces: | ||
|
||
* When `name` is defined, it is used as the workspace name: `<name>` | ||
* When only `generateName` is defined, it is used as the base of the generated name: `<generateName>YYYYY` | ||
|
||
[NOTE] | ||
==== | ||
For workspaces created using a factory, defining `name` or `generateName` has the same effect. The defined value is used as the name prefix: `<name>YYYYY` or `<generateName>YYYYY`. | ||
==== |