chore: set che-incubator/che-code/latest as a default editor (#1614)

Signed-off-by: Valerii Svydenko <vsvydenk@redhat.com>
pull/1616/head
Valeriy Svydenko 2023-02-09 16:57:00 +02:00 committed by GitHub
parent 8f5c3b41fa
commit cad72eb012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 26 additions and 26 deletions

View File

@ -368,7 +368,7 @@ type CheClusterSpecServer struct {
// The plugin ID must have `publisher/plugin/version`.
// The URI must start from `http`.
// +optional
// +kubebuilder:default:=che-incubator/che-code/insiders
// +kubebuilder:default:=che-incubator/che-code/latest
WorkspaceDefaultEditor string `json:"workspaceDefaultEditor,omitempty"`
// Default components applied to DevWorkspaces.
// These default components are meant to be used when a Devfile does not contain any components.

View File

@ -37,7 +37,7 @@ type CheClusterSpec struct {
// +optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,order=1
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Development environments"
// +kubebuilder:default:={disableContainerBuildCapabilities: true, defaultComponents: {{name: universal-developer-image, container: {image: "quay.io/devfile/universal-developer-image:ubi8-38da5c2"}}}, defaultEditor: che-incubator/che-code/insiders, storage: {pvcStrategy: per-user}, defaultNamespace: {template: <username>-che, autoProvision: true}, secondsOfInactivityBeforeIdling:1800, secondsOfRunBeforeIdling:-1, startTimeoutSeconds:300, maxNumberOfWorkspacesPerUser:-1}
// +kubebuilder:default:={disableContainerBuildCapabilities: true, defaultComponents: {{name: universal-developer-image, container: {image: "quay.io/devfile/universal-developer-image:ubi8-38da5c2"}}}, defaultEditor: che-incubator/che-code/latest, storage: {pvcStrategy: per-user}, defaultNamespace: {template: <username>-che, autoProvision: true}, secondsOfInactivityBeforeIdling:1800, secondsOfRunBeforeIdling:-1, startTimeoutSeconds:300, maxNumberOfWorkspacesPerUser:-1}
DevEnvironments CheClusterDevEnvironments `json:"devEnvironments"`
// Che components configuration.
// +optional
@ -90,7 +90,7 @@ type CheClusterDevEnvironments struct {
// The plugin ID must have `publisher/plugin/version` format.
// The URI must start from `http://` or `https://`.
// +optional
// +kubebuilder:default:=che-incubator/che-code/insiders
// +kubebuilder:default:=che-incubator/che-code/latest
DefaultEditor string `json:"defaultEditor,omitempty"`
// Default components applied to DevWorkspaces.
// These default components are meant to be used when a Devfile, that does not contain any components.

View File

@ -77,7 +77,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che.v7.61.0-760.next
name: eclipse-che.v7.61.0-761.next
namespace: placeholder
spec:
apiservicedefinitions: {}
@ -1221,7 +1221,7 @@ spec:
minKubeVersion: 1.19.0
provider:
name: Eclipse Foundation
version: 7.61.0-760.next
version: 7.61.0-761.next
webhookdefinitions:
- admissionReviewVersions:
- v1

View File

@ -3778,7 +3778,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It
could be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5397,7 +5397,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6925,7 +6925,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It
could be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3664,7 +3664,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5258,7 +5258,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6736,7 +6736,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3683,7 +3683,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5277,7 +5277,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6755,7 +6755,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3678,7 +3678,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5272,7 +5272,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6750,7 +6750,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3683,7 +3683,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5277,7 +5277,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6755,7 +6755,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3678,7 +3678,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5272,7 +5272,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6750,7 +6750,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.

View File

@ -3678,7 +3678,7 @@ spec:
type: object
type: array
workspaceDefaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`.
The URI must start from `http`.
@ -5272,7 +5272,7 @@ spec:
- container:
image: quay.io/devfile/universal-developer-image:ubi8-38da5c2
name: universal-developer-image
defaultEditor: che-incubator/che-code/insiders
defaultEditor: che-incubator/che-code/latest
defaultNamespace:
autoProvision: true
template: <username>-che
@ -6750,7 +6750,7 @@ spec:
type: object
type: array
defaultEditor:
default: che-incubator/che-code/insiders
default: che-incubator/che-code/latest
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
format. The URI must start from `http://` or `https://`.