diff --git a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml index 3b0e7460f..cb4869055 100644 --- a/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspaces.v1beta1.yaml @@ -1584,8 +1584,8 @@ spec: by its name. properties: postStart: - description: Names of commands that should be executed after - the workspace is completely started. In the case of Che-Theia, + description: IDs of commands that should be executed after the + workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in @@ -1594,13 +1594,13 @@ spec: type: string type: array postStop: - description: Names of commands that should be executed after - stopping the workspace. + description: IDs of commands that should be executed after stopping + the workspace. items: type: string type: array preStart: - description: Names of commands that should be executed before + description: IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD. @@ -1608,7 +1608,7 @@ spec: type: string type: array preStop: - description: Names of commands that should be executed before + description: IDs of commands that should be executed before stopping the workspace. items: type: string diff --git a/crds/workspace.devfile.io_devworkspaces.yaml b/crds/workspace.devfile.io_devworkspaces.yaml index ce62ae0d8..187e91fe1 100644 --- a/crds/workspace.devfile.io_devworkspaces.yaml +++ b/crds/workspace.devfile.io_devworkspaces.yaml @@ -1613,7 +1613,7 @@ spec: by its name. properties: postStart: - description: Names of commands that should be executed after + description: IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This @@ -1623,13 +1623,13 @@ spec: type: string type: array postStop: - description: Names of commands that should be executed after + description: IDs of commands that should be executed after stopping the workspace. items: type: string type: array preStart: - description: Names of commands that should be executed before + description: IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD. @@ -1637,7 +1637,7 @@ spec: type: string type: array preStop: - description: Names of commands that should be executed before + description: IDs of commands that should be executed before stopping the workspace. items: type: string diff --git a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml index 9df02cd43..9acfbbc20 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml @@ -1516,29 +1516,29 @@ spec: by its name. properties: postStart: - description: Names of commands that should be executed after the - workspace is completely started. In the case of Che-Theia, these - commands should be executed after all plugins and extensions have - started, including project cloning. This means that those commands - are not triggered until the user opens the IDE in his browser. + description: IDs of commands that should be executed after the workspace + is completely started. In the case of Che-Theia, these commands + should be executed after all plugins and extensions have started, + including project cloning. This means that those commands are + not triggered until the user opens the IDE in his browser. items: type: string type: array postStop: - description: Names of commands that should be executed after stopping + description: IDs of commands that should be executed after stopping the workspace. items: type: string type: array preStart: - description: Names of commands that should be executed before the + description: IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD. items: type: string type: array preStop: - description: Names of commands that should be executed before stopping + description: IDs of commands that should be executed before stopping the workspace. items: type: string diff --git a/crds/workspace.devfile.io_devworkspacetemplates.yaml b/crds/workspace.devfile.io_devworkspacetemplates.yaml index b190258ff..95883cc7f 100644 --- a/crds/workspace.devfile.io_devworkspacetemplates.yaml +++ b/crds/workspace.devfile.io_devworkspacetemplates.yaml @@ -1542,7 +1542,7 @@ spec: by its name. properties: postStart: - description: Names of commands that should be executed after the + description: IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those @@ -1552,21 +1552,21 @@ spec: type: string type: array postStop: - description: Names of commands that should be executed after stopping + description: IDs of commands that should be executed after stopping the workspace. items: type: string type: array preStart: - description: Names of commands that should be executed before - the workspace start. Kubernetes-wise, these commands would typically + description: IDs of commands that should be executed before the + workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD. items: type: string type: array preStop: - description: Names of commands that should be executed before - stopping the workspace. + description: IDs of commands that should be executed before stopping + the workspace. items: type: string type: array diff --git a/pkg/apis/workspaces/v1alpha2/events.go b/pkg/apis/workspaces/v1alpha2/events.go index a12969939..b6986ce32 100644 --- a/pkg/apis/workspaces/v1alpha2/events.go +++ b/pkg/apis/workspaces/v1alpha2/events.go @@ -5,22 +5,22 @@ type Events struct { } type WorkspaceEvents struct { - // Names of commands that should be executed before the workspace start. + // IDs of commands that should be executed before the workspace start. // Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD. // +optional PreStart []string `json:"preStart,omitempty"` - // Names of commands that should be executed after the workspace is completely started. + // IDs of commands that should be executed after the workspace is completely started. // In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. // This means that those commands are not triggered until the user opens the IDE in his browser. // +optional PostStart []string `json:"postStart,omitempty"` // +optional - // Names of commands that should be executed before stopping the workspace. + // IDs of commands that should be executed before stopping the workspace. PreStop []string `json:"preStop,omitempty"` // +optional - // Names of commands that should be executed after stopping the workspace. + // IDs of commands that should be executed after stopping the workspace. PostStop []string `json:"postStop,omitempty"` } diff --git a/schemas/latest/dev-workspace-template-spec.json b/schemas/latest/dev-workspace-template-spec.json index 1e2697eb8..7eee361b9 100644 --- a/schemas/latest/dev-workspace-template-spec.json +++ b/schemas/latest/dev-workspace-template-spec.json @@ -1508,28 +1508,28 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" } }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" } }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" } }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" diff --git a/schemas/latest/dev-workspace-template.json b/schemas/latest/dev-workspace-template.json index ed5cee54d..c7e6f8fb3 100644 --- a/schemas/latest/dev-workspace-template.json +++ b/schemas/latest/dev-workspace-template.json @@ -1673,28 +1673,28 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" } }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" } }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" } }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" diff --git a/schemas/latest/dev-workspace.json b/schemas/latest/dev-workspace.json index 5188e27f8..63c8cb8f7 100644 --- a/schemas/latest/dev-workspace.json +++ b/schemas/latest/dev-workspace.json @@ -1686,28 +1686,28 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" } }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" } }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" } }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" diff --git a/schemas/latest/devfile.json b/schemas/latest/devfile.json index b21296cf7..cf452696d 100644 --- a/schemas/latest/devfile.json +++ b/schemas/latest/devfile.json @@ -1426,28 +1426,28 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" } }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" } }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" } }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" diff --git a/schemas/latest/ide-targeted/dev-workspace-template-spec.json b/schemas/latest/ide-targeted/dev-workspace-template-spec.json index f49956d40..27fde568a 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template-spec.json +++ b/schemas/latest/ide-targeted/dev-workspace-template-spec.json @@ -1672,36 +1672,36 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." + "markdownDescription": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after stopping the workspace." + "markdownDescription": "IDs of commands that should be executed after stopping the workspace." }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." + "markdownDescription": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before stopping the workspace." + "markdownDescription": "IDs of commands that should be executed before stopping the workspace." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/dev-workspace-template.json b/schemas/latest/ide-targeted/dev-workspace-template.json index 48c761761..fca16b6dd 100644 --- a/schemas/latest/ide-targeted/dev-workspace-template.json +++ b/schemas/latest/ide-targeted/dev-workspace-template.json @@ -1870,36 +1870,36 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." + "markdownDescription": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after stopping the workspace." + "markdownDescription": "IDs of commands that should be executed after stopping the workspace." }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." + "markdownDescription": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before stopping the workspace." + "markdownDescription": "IDs of commands that should be executed before stopping the workspace." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/dev-workspace.json b/schemas/latest/ide-targeted/dev-workspace.json index 1b98e9d56..2d5a160f1 100644 --- a/schemas/latest/ide-targeted/dev-workspace.json +++ b/schemas/latest/ide-targeted/dev-workspace.json @@ -1883,36 +1883,36 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." + "markdownDescription": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after stopping the workspace." + "markdownDescription": "IDs of commands that should be executed after stopping the workspace." }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." + "markdownDescription": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before stopping the workspace." + "markdownDescription": "IDs of commands that should be executed before stopping the workspace." } }, "additionalProperties": false, diff --git a/schemas/latest/ide-targeted/devfile.json b/schemas/latest/ide-targeted/devfile.json index a1b5e3d77..88984311f 100644 --- a/schemas/latest/ide-targeted/devfile.json +++ b/schemas/latest/ide-targeted/devfile.json @@ -1579,36 +1579,36 @@ "type": "object", "properties": { "postStart": { - "description": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", + "description": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." + "markdownDescription": "IDs of commands that should be executed after the workspace is completely started. In the case of Che-Theia, these commands should be executed after all plugins and extensions have started, including project cloning. This means that those commands are not triggered until the user opens the IDE in his browser." }, "postStop": { - "description": "Names of commands that should be executed after stopping the workspace.", + "description": "IDs of commands that should be executed after stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed after stopping the workspace." + "markdownDescription": "IDs of commands that should be executed after stopping the workspace." }, "preStart": { - "description": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", + "description": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." + "markdownDescription": "IDs of commands that should be executed before the workspace start. Kubernetes-wise, these commands would typically be executed in init containers of the workspace POD." }, "preStop": { - "description": "Names of commands that should be executed before stopping the workspace.", + "description": "IDs of commands that should be executed before stopping the workspace.", "type": "array", "items": { "type": "string" }, - "markdownDescription": "Names of commands that should be executed before stopping the workspace." + "markdownDescription": "IDs of commands that should be executed before stopping the workspace." } }, "additionalProperties": false,