From 84673c85143d54ad0008e04f210f6a8a842474c0 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Tue, 28 May 2024 15:59:14 +0200 Subject: [PATCH] Use iconData and iconMediatype attributes for icon (#1845) Signed-off-by: Anatolii Bazko --- api/v2/checluster_types.go | 3 ++- .../manifests/che-operator.clusterserviceversion.yaml | 4 ++-- .../eclipse-che/manifests/org.eclipse.che_checlusters.yaml | 5 +++-- config/crd/bases/org.eclipse.che_checlusters.yaml | 3 ++- deploy/deployment/kubernetes/combined.yaml | 3 ++- ...checlusters.org.eclipse.che.CustomResourceDefinition.yaml | 3 ++- deploy/deployment/openshift/combined.yaml | 3 ++- ...checlusters.org.eclipse.che.CustomResourceDefinition.yaml | 3 ++- editors-definitions/che-code-insiders.yaml | 4 ++-- editors-definitions/che-code-latest.yaml | 4 ++-- editors-definitions/che-idea-latest.yaml | 4 ++-- editors-definitions/che-idea-next.yaml | 4 ++-- editors-definitions/che-idea-server-latest.yaml | 4 ++-- editors-definitions/che-idea-server-next.yaml | 4 ++-- ...checlusters.org.eclipse.che.CustomResourceDefinition.yaml | 3 ++- 15 files changed, 31 insertions(+), 23 deletions(-) diff --git a/api/v2/checluster_types.go b/api/v2/checluster_types.go index 9b8f8a90b7..fc3d4bf8d4 100644 --- a/api/v2/checluster_types.go +++ b/api/v2/checluster_types.go @@ -106,7 +106,7 @@ type CheClusterDevEnvironments struct { // +optional TrustedCerts *TrustedCerts `json:"trustedCerts,omitempty"` // 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 plugin ID must have `publisher/name/version` format. // The URI must start from `http://` or `https://`. // +optional DefaultEditor string `json:"defaultEditor,omitempty"` @@ -473,6 +473,7 @@ type PersistentHomeConfig struct { type WorkspaceDefaultPlugins struct { // The editor ID to specify default plug-ins for. + // The plugin ID must have `publisher/name/version` format. Editor string `json:"editor,omitempty"` // Default plug-in URIs for the specified editor. Plugins []string `json:"plugins,omitempty"` diff --git a/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml b/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml index 20a32027e4..f6833e687f 100644 --- a/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml +++ b/bundle/next/eclipse-che/manifests/che-operator.clusterserviceversion.yaml @@ -100,7 +100,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.87.0-869.next + name: eclipse-che.v7.87.0-870.next namespace: placeholder spec: apiservicedefinitions: {} @@ -1032,7 +1032,7 @@ spec: minKubeVersion: 1.19.0 provider: name: Eclipse Foundation - version: 7.87.0-869.next + version: 7.87.0-870.next webhookdefinitions: - admissionReviewVersions: - v1 diff --git a/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml b/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml index 14eda48e42..ea75e1f707 100644 --- a/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml +++ b/bundle/next/eclipse-che/manifests/org.eclipse.che_checlusters.yaml @@ -6755,7 +6755,7 @@ spec: type: array defaultEditor: 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` + could be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6785,7 +6785,8 @@ spec: properties: editor: description: The editor ID to specify default plug-ins - for. + for. The plugin ID must have `publisher/name/version` + format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/config/crd/bases/org.eclipse.che_checlusters.yaml b/config/crd/bases/org.eclipse.che_checlusters.yaml index 9e7d9f7cd9..ad9728b5c4 100644 --- a/config/crd/bases/org.eclipse.che_checlusters.yaml +++ b/config/crd/bases/org.eclipse.che_checlusters.yaml @@ -6564,7 +6564,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6594,6 +6594,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/deploy/deployment/kubernetes/combined.yaml b/deploy/deployment/kubernetes/combined.yaml index 84cfe53bbe..6bff83e6dc 100644 --- a/deploy/deployment/kubernetes/combined.yaml +++ b/deploy/deployment/kubernetes/combined.yaml @@ -6583,7 +6583,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6613,6 +6613,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index b195c127cb..2814afb181 100644 --- a/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/deploy/deployment/kubernetes/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -6578,7 +6578,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6608,6 +6608,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/deploy/deployment/openshift/combined.yaml b/deploy/deployment/openshift/combined.yaml index 802ad11047..a9c36588f3 100644 --- a/deploy/deployment/openshift/combined.yaml +++ b/deploy/deployment/openshift/combined.yaml @@ -6583,7 +6583,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6613,6 +6613,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index 32b727175b..55160f8bd8 100644 --- a/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/deploy/deployment/openshift/objects/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -6578,7 +6578,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6608,6 +6608,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor. diff --git a/editors-definitions/che-code-insiders.yaml b/editors-definitions/che-code-insiders.yaml index c506b80f17..9ce0b1b6fb 100644 --- a/editors-definitions/che-code-insiders.yaml +++ b/editors-definitions/che-code-insiders.yaml @@ -25,8 +25,8 @@ metadata: build repository: https://github.com/che-incubator/che-code firstPublicationDate: '2021-10-31' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/editors-definitions/che-code-latest.yaml b/editors-definitions/che-code-latest.yaml index edaf94a51b..c65c409516 100644 --- a/editors-definitions/che-code-latest.yaml +++ b/editors-definitions/che-code-latest.yaml @@ -21,8 +21,8 @@ metadata: title: Microsoft Visual Studio Code - Open Source IDE for Eclipse Che repository: https://github.com/che-incubator/che-code firstPublicationDate: '2021-10-31' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/editors-definitions/che-idea-latest.yaml b/editors-definitions/che-idea-latest.yaml index 533a3fa4d6..9846a7d386 100644 --- a/editors-definitions/che-idea-latest.yaml +++ b/editors-definitions/che-idea-latest.yaml @@ -23,8 +23,8 @@ metadata: title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che repository: https://github.com/che-incubator/jetbrains-editor-images firstPublicationDate: '2022-01-11' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/editors-definitions/che-idea-next.yaml b/editors-definitions/che-idea-next.yaml index a820486a17..7d662a09f9 100644 --- a/editors-definitions/che-idea-next.yaml +++ b/editors-definitions/che-idea-next.yaml @@ -23,8 +23,8 @@ metadata: title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che - next repository: https://github.com/che-incubator/jetbrains-editor-images firstPublicationDate: '2022-01-11' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/editors-definitions/che-idea-server-latest.yaml b/editors-definitions/che-idea-server-latest.yaml index 4a202d53bb..ebb57d670f 100644 --- a/editors-definitions/che-idea-server-latest.yaml +++ b/editors-definitions/che-idea-server-latest.yaml @@ -23,8 +23,8 @@ metadata: title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - latest repository: https://github.com/che-incubator/che-idea-dev-server firstPublicationDate: '2023-30-11' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/editors-definitions/che-idea-server-next.yaml b/editors-definitions/che-idea-server-next.yaml index 60a1bd5828..87faca609a 100644 --- a/editors-definitions/che-idea-server-next.yaml +++ b/editors-definitions/che-idea-server-next.yaml @@ -23,8 +23,8 @@ metadata: title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - next repository: https://github.com/che-incubator/che-idea-dev-server firstPublicationDate: '2023-30-11' - icon-mediatype: image/svg+xml - icon-data: | + iconMediatype: image/svg+xml + iconData: | diff --git a/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml b/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml index b195c127cb..2814afb181 100644 --- a/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml +++ b/helmcharts/next/crds/checlusters.org.eclipse.che.CustomResourceDefinition.yaml @@ -6578,7 +6578,7 @@ spec: type: array defaultEditor: 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` + be a plugin ID or a URI. The plugin ID must have `publisher/name/version` format. The URI must start from `http://` or `https://`. type: string defaultNamespace: @@ -6608,6 +6608,7 @@ spec: properties: editor: description: The editor ID to specify default plug-ins for. + The plugin ID must have `publisher/name/version` format. type: string plugins: description: Default plug-in URIs for the specified editor.