Skip to content

Releases: eclipse-che/che

Eclipse Che 7.97.0

08 Jan 17:59
Compare
Choose a tag to compare

Major Enhancements

Allow to configure securityContext for the gateway container

You can set up the securityContext for the CDE pods in the CheCluster CR:

spec:
  devEnvironments:
    security:
      containerSecurityContext:
        allowPrivilegeEscalation: false
        capabilities:
          drop:
            - ALL
      podSecurityContext:
        seccompProfile:
          type: RuntimeDefault

With this release, the securityContext is also applied to the CDE's che-gateway container.

Add the ncat utility to the project clone image

With this release, the ncat utility has been added to the project-clone container of the CDE.

$ podman run --rm quay.io/devfile/project-clone:v0.32.1 nc --version
Ncat: Version 7.92 ( https://nmap.org/ncat )

Create a common entrypoint for base and UDI, fix .config ownership for Podman 5 support

With this release, a common entrypoint.sh script is used for both the base-developer-image and the universal-developer-image (UDI), making the behaviour between the two images consistent.

The base-developer-image and UDI are updated so that the storage driver for Podman (fuseoverlay-fs or vfs) is determined automatically in the entrypoint. As a result, if the /dev/fuse device is available in the CDE, the entrypoint will configure the ~/.config/containers/storage.conf file automatically to use fuse-overlayfs.

Additionally, the ownership of the ~/.config folder is set to the current user, which is a requirement for Podman 5.x.

Bug Fixes

Do not cache the ServiceAccount token on the User Dashboard

Previously, ServiceAccount token located at the path /var/run/secrets/kubernetes.io/serviceaccount/token was cached on the User Dashboard end and was not refreshed properly. The defect has been fixed in this release.

Automatically restart from local devfile when devfile failed to be resolved at startup for SSH URLs

Regression related to the automatic restart from the local devfile for SSH URLs has been fixed in this release.

Kubeconfig Format Corruption After Switching Clusters and Restarting Workspace

Kubeconfig format corruption after switching clusters and restarting CDE has been fixed in this release.

Restart from local devfile doesn't work anymore

Previously, Che Code's Restart Workspace from Local Devfile functionality was not working when attributes in the DevWorkspace CR had null values. This defect has been fixed in this release.

Cannot create a workspace using ssh

Previously, there was a Cannot add property controller.devfile.io/bootstrap-devworkspace, object is not extensible error when you tried to create a workspace with an SSH URL from the Che dashboard. This defect has been fixed in this release.

Current stow implementation in udi8/9 will break under certain conditions

Previously if devEnvironments.persistUserHome.enabled and devEnvironments.persistUserHome.disableInitContainer were both true, and if there was a file in the /home/user directory that would cause a stow conflict, the stow command would still run and fail due to the conflict. With this release, UBI and UDI entrypoint automatically add conflicting files into the /home/tooling/.stow-local-ignore to prevent the stow failure.

Use current project directory at terminal creation

When creating new terminals in the Visual Studio Code - Open Source ("Code - OSS") editor with the New Terminal (Select a Container) option, the initial directory was not the current project directory (ex. /projects/<project-name>). This defect has been fixed in this release.

image

Documentation

Documentation for applying editor configurations from a ConfigMap

With this release it is now possible to apply Che Code settings.json and extensions.json to your Visual Studio Code - Open Source ("Code - OSS") editors using a ConfigMap. Learn more in the official documentation.

Eclipse Che 7.96.0

16 Dec 18:26
Compare
Choose a tag to compare

Major Enhancements

Ability to apply VS Code editor configurations from a ConfigMap

With this release, you can apply specific configuration properties to the Visual Studio Code - Open Source ("Code - OSS") editor using a dedicated ConfigMap:

apiVersion: v1
kind: ConfigMap
metadata:
  name: vscode-editor-configurations
data: 
  extensions.json: |
    {
      "recommendations": [
          "dbaeumer.vscode-eslint",
          "github.vscode-pull-request-github"
      ]
    }
  settings.json: |
    {
      "window.header": "SOME HEADER MESSAGE",
      "window.commandCenter": false,
      "workbench.colorCustomizations": {
        "titleBar.activeBackground": "#CCA700",
        "titleBar.activeForeground": "#ffffff"
      }
    }
immutable: false
Screenshot 2024-12-16 at 15 55 41

Display the full content of the gitconfig file on the User Dashboard

With this release, you can view the full content of the .gitconfig file. Access it on the User Preferences 'Gitconfig' tab by clicking 'Switch to Viewer' :

Screen.Recording.2024-12-05.at.15.55.57.mov

JHipster Community devfile

A new community-supported JHipster Online devfile has been contributed to the devfile.io and is available as a getting-started sample on the User Dashboard:

Screenshot 2024-12-13 at 12 37 05

Learn more about the new JHipstrer devfile getting-started sample in the tutorial demo video.

Allowlist k8s service in 'no_proxy' environment variable

Starting from this release, there is a dedicated warning message for clusters that are behind a proxy, if you did not add the KUBERNETES_SERVICE_HOST environment variable to the no_proxylist.

Screenshot from 2024-11-25 15-57-22

Detect support for fuse-overlayfs for Universal Developer Image

Starting from this release fuse-overlayfs will be detected automatically for the default Universal Developer Image.

Documentation

Installation guide for Amazon Elastic Kubernetes Service (EKS)

The installation guide for Amazon Elastic Kubernetes Service (EKS) is available in the official documentation.

Configuring workspace endpoints base domain

With this release, the official documentation for configuring workspace endpoints base domain is available.

Persistent user home documentation

With this release, the official documentation for persisting the /home/user directory across workspace restarts is available.

Configuring proxy setting for https_proxy, http_proxy and no_proxy

Official documentation that explains how to configure the proxy settings is available.

Updated documentation for caching images for faster workspace start using ImagePuller component

This release, there is an update for the official documentation about caching images for faster workspace startup using ImagePuller.

Microsoft Marketplace Terms of Use Warning

A warning related to the Microsoft Marketplace ToS was added to the official documentation.

Deprecated functionalities

Deprecate and remove UBI 8 from the upstream UDI codebase

UBI 8 has been removed from the Developer Images codebase in favor of UBI 9.

Bug Fixes

DevWorkspace 'storage-type' attribute temporarily removed when restarting from local devfile

Previously, the DevWorkspace 'storage-type' attribute was temporarily removed when restarting the CDE from the local devfile. The defect has been fixed in this release.

Restart from local devfile function not working as expected

The 'Restart from local devfile' functionality was not working as expected in some cases, resulting in a "Failed to update the Devfile. Error: aborted" error. The defect has been fixed in this release.

GitHub Authorization does not work properly

Previously, revoking the GitHub token from the dashboard was failing with an "OAuth token for provider github was not found" error under certain conditions:

Screenshot from 2024-11-11 15-59-40

The defect has been fixed in this release.

An error appears when accessing the User Preferences Git Services tab

Previously, under certain conditions, a "TypeError: Cannot assign to read only property 0 of object [objectArray]" error message would appear when navigating to the User Preferences -> Git Services tab:

screenshot-che-dogfooding_apps_che-dev_x6e0_p1_openshiftapps_com-2024_11_25-12_29_51

The defect has been fixed in this release.

Factory from BitBucket server private repository based on SSH Url has an unexpected warning

Before this release, when a Cloud Development environment was started for the BitBucket server private repository based on an SSH URL, the startup was interrupted with an unexpected warning.

che-ssh-link-priv-repo-bb-server-no-pat-oauth

Eclipse Che 7.95.0

22 Nov 16:35
Compare
Choose a tag to compare

Major Enhancements

Security best practices

With this release, the security best practices for Eclipse Che have been contributed to the official documentation.

Warning message when tracker can not ping machine-exec

When the activity tracker extension could not ping the idler service, there was no user-facing error message displayed. This could cause a situation where your Cloud Development Environment (CDE) is terminated due to the idler, even when you are actively using your CDE. With this release, an error notification warns you when the idler service cannot be reached.

image

Bug Fixes

Custom editor is not resolved from .che if SSH url is used

Previously, if you started a CDE created with a project with a .che/che-editor.yaml file and used SSH for cloning, the editor in the .che/che-editor.yaml file was not resolved. This issue is fixed in this release.

Add SSH agent postStart event only if SSH key has a passphrase & experimental features enabled

Before this release, if you configured a secret containing a SSH key for git operations, you could provide an SSH passphrase as well. By providing the SSH passphrase in the secret, you could clone and push to the git repository without re-entering the passphrase. This feature caused starting CDE from certain sample projects from the devfile.io registry to fail.

Starting from this release, enabling the SSH passphrase feature requires the admin to set the config.enableExperimentalFeatures field to true in the Che-owned DevWorkspaceOperatorConfig:

apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
  name: devworkspace-config
  namespace: eclipse-che
config:
  enableExperimentalFeatures: true

Fixed NetworkPolicy podSelector documentation

The previous Configuring network policies documentation contained a network policy that prevented you from creating Cloud Development Environments (CDEs) from sample projects. This issue is fixed in this release.

Logout button on Che dashboard does not work

There was an issue where you were not able to log out after clicking on the "Logout" button. This issue is fixed in this release.

Increase memory limit for the Dev Workspace Operator to 5Gi

The memory limit for the devworkspace-controller-manager-* pod was increased to 5Gi.

Launching a workspace using .devfile.yaml file from Gitlab repository hosted internally fails

Before this release, it was not possible to create Cloud Development Environments (CDEs) from a .devfile within an internally hosted Gitlab repository. With this release, the issue is fixed.

Eclipse Che 7.94.0

07 Nov 16:10
Compare
Choose a tag to compare

Major Enhancements

Allow configuring users namespaces with OpenShift template

With this release, you can leverage the OpenShift Template object and replicate the resources defined in it across the namespaces of all users, such as:

  • LimitRange
  • ResourceQuota
  • NetworkPolicy
  • Role
  • RoleBinding

Learn more about the procedure in the official documentation.

Allow configuring 2 GitLab OAuth providers simultaneously

Starting from this release, you can configure 2 Gitlab OAuth providers on a single Eclipse Che instance. This can be particularly useful when developers are working with codebases hosted on both GitLab SaaS and on-premises.

screenshot-cluster-admin-che-dashboard-local-server_apps_rosa_oaky8-tf8zx-r5p_asdn_p3_openshiftapps_com-2024_10_23-11_53_49
screenshot-cluster-admin-che-dashboard-local-server_apps_rosa_oaky8-tf8zx-r5p_asdn_p3_openshiftapps_com-2024_10_23-11_54_23

Learn more about the procedure in the official documentation.

Notification when autoscaler kicks in during workspace startup

Starting from this release, if cluster autoscaler is provisioning a new worker node during Cloud Development Environment (CDE) startup, you will be notified with a dedicated warning message:

screenshot-eclipse-che_apps_ci-ln-286d3lk-76ef8_aws-2_ci_openshift_org-2024_10_07-22_08_00

Leverage the Openshift cluster-wide Custom CA Bundle configuration for CDEs

Communications with external services are encrypted with TLS and require the certificates to be signed by trusted Certificate Authorities (CA). Therefore, all untrusted CA chains used by external services should be imported to Eclipse Che.

Starting from this release, labeled ConfigMaps from the installation namespace are used as sources for TLS certificates.
The ConfigMaps can have an arbitrary amount of keys with a arbitrary amount of certificates each. The operator merges all ConfigMaps into a single one titled ca-certs-merged, and mounts it as a volume in the operands and Cloud Development Environment (CDE) pods.

By default, the operator mounts the ca-certs-merged ConfigMap in a user's CDE at two locations: /public-certs and /etc/pki/ca-trust/extracted/pem. The /etc/pki/ca-trust/extracted/pem directory is where the system stores extracted CA certificates for trusted certificate authorities on Red Hat (e.g., CentOS, Fedora). CLI tools automatically use certificates from the system-trusted locations when the user's CDE is up and running.

Learn more about the procedure in the official documentation.

Adds JetBrains CLion and RubyMine IDEs to the User Dashboard

JetBrains CLion and RubyMine IDEs are available on the User Dashboard and accessible via JetBrains Gateway with this release.

Screenshot 2024-11-05 at 16 54 32

Launching Visual Studio Code - Open Source ("Code - OSS") with selected default extensions installed

With this release, you can install default Visual Studio Code - Open Source ("Code - OSS") extensions using the combinations of the devfile postStart event together with automount ConfigMap:

  - id: add-default-extensions
    exec:
      # put your tooling container name here
      component: runtime
      commandLine: |
        # download regular binary
        curl https://open-vsx.org/api/atlassian/atlascode/3.0.10/file/atlassian.atlascode-3.0.10.vsix --location -o /tmp/atlassian.atlascode-3.0.10.vsix
        curl https://open-vsx.org/api/snowflake/snowflake-vsc/1.9.1/file/snowflake.snowflake-vsc-1.9.1.vsix --location -o /tmp/snowflake.snowflake-vsc-1.9.1.vsix

events:
  postStart:
    - add-default-extensions
kind: ConfigMap
apiVersion: v1
metadata:
  name: default-extensions
  labels:
    controller.devfile.io/mount-to-devworkspace: 'true'
    controller.devfile.io/watch-configmap: 'true'
  annotations:
    controller.devfile.io/mount-as: env
data:
  DEFAULT_EXTENSIONS: '/tmp/atlassian.atlascode-3.0.10.vsix;/tmp/snowflake.snowflake-vsc-1.9.1.vsix'

UI/UX enhancements of the editor tiles on the User Dashboard

The editor tiles displayed on the User Dashboard including the license and version information received a UI/UX enhancement:

Screenshot 2024-11-05 at 14 03 49

Deprecated functionalities

Add the "Deprecated" Tag to the Intelij IDEA Community

With this release, the Intelij IDEA Community editor using JetBrains Projector in the background is deprecated.

Bug Fixes

Workspace details drop-down menu item is missing

The 'Workspace Details' drop-down menu item has been returned back to the navigation bar.

Знімок екрана 2024-10-22 о 05 32 23

Знімок екрана 2024-10-22 о 05 31 47

Unexpected warning message while try to start a workspace from a raw devfile

Previously, a sporadic warning message could show up during the CDE startup from the raw devfile.

Screenshot from 2024-09-19 13-49-03

The defect has been fixed in this release.

Healthz bad gateway when pod/service ip take time to propagate

Before this release, when the IP address of the Cloud Development Environment (CDE) service/pod took some time to be accessible, it would result in slow startup due to the inability to access the CDE healthz endpoint within a specific timeout. This defect has been fixed in this release.

Filter out "init-ssh-agent" from Visual Studio Code - Open Source ("Code - OSS") devfile task lists

Previously, the internal DWO-specific init-ssh-agent task required for processing SSH passphrase was visible in Visual Studio Code - Open Source ("Code - OSS"). The defect has been fixed in this release.

image

Eclipse Che 7.93.0

11 Oct 12:53
Compare
Choose a tag to compare

Major Enhancements

Add option to deploy operands on the specific cluster nodes

With this release, you can deploy operands (dashboard, server, plugin-registry, etc.) on specific cluster nodes using the dedicated nodeSelector and tolerations CR properties:

    dashboard:
      deployment:
        nodeSelector:
        tolerations:

Ability to create the .gitconfig file from the User Dashboard regardless of the authentication method setup on the cluster

You can now create or import the .gitconfig file from the User Dashboard regardless of the authentication method setup on the cluster:

Screen.Recording.2024-09-26.at.13.10.06.mov

Before this release, it was not possible to create or import a .gitconfig file if you were logged in via LDAP or local authentication. Instead, you had to manually create a dedicated configmap for the a .gitconfig file in their namespace.

Endpoint-specific service for discoverable endpoints

When setting the discoverable: true attribute on a Devfile container component endpoint, a dedicated service will be created and used for the endpoint. For all other endpoints that do not set the discoverable: true attribute, the common workspace service will be used.

The dedicated service created for the endpoint will have a static name, corresponding to the endpoint's name. For instance, a service named http-python will be generated in the example endpoint defined below:

# Example endpoint with discoverable attribute
- exposure: public
  targetPort: 8080
  name: http-python
  protocol: http
  secure: true
  attributes:
    discoverable: true

Documentation for a minimal set of permissions for deploying Eclipse Che on OpenShift

The official documentation defines minimal permissions for installing Eclipse Che on an OpenShift cluster using CLI or web console UI starting from this release.

Bug Fixes

JetBrains IDE-based CDE should not depend on Node.js presence in a user's container

Previously, the tools container of the Cloud Development Environment (CDE) required Node.js to serve the JetBrains IDEA server stub web page. This defect has been fixed in this release.

Dashboard does not show the editors tags

Previously, the editors tags were not correctly displayed on the User Dashboard. The defect has been fixed in this release:

Screenshot 2024-10-10 at 18 05 42

Opening links doesn't work in Visual Studio Code - Open Source ("Code - OSS")

In the Visual Studio Code - Open Source ("Code - OSS") editor, clicking on links within welcome pages and project README files had no effect. This defect has been fixed in this release.

Temporary Storage switch does not work properly

Previously, the 'Temporary Storage' switch was not working correctly on the User Dashboard. The defect has been fixed in this release.

Screenshot 2024-10-10 at 18 10 16

Workspace creation is stopped after clicking Continue in the 'Trust the repository authors' pop-up

Previously if the admin configured allowed URLs for Cloud Development Environments, workspace creation was stopped after a user clicked on the 'Continue' button in the 'Trust the repository authors' pop-up. The defect has been fixed in this release.

The 'Untrusted Repository' pop-up re-appears when OAuth authorization is refused

Before this release, there was a known issue with OAuth authorization and the 'Untrusted Repository' pop-up. When you launched a factory with OAuth setup and refused the OAuth authorization prompt, the pop-up would reappear. The defect has been fixed in this release.

Workspace does not run after refusing OAuth authorization

Previously, if you refused the OAuth authorization the CDE would not start. The defect has been fixed in this release.

che-next-refused-oauth-ws-no-run.webm

Unexpected error message 'No IDE URL after 20 sec during workspace startup'

Before this release, the error message could appear during a Cloud Development Environment (CDE) startup: 'No IDE URL after 20 sec during workspace startup'. The defect has been fixed in this release.

Screenshot 2024-10-10 at 18 02 00

Eclipse Che 7.92.0

26 Sep 10:06
Compare
Choose a tag to compare

Major Enhancements

Restricting the total number of the 'Running' workspaces on a cluster

With this release, you can restrict the total number of the 'Running' workspaces on a cluster using the maxNumberOfRunningWorkspacesPerCluster CheCluster CR property.

Learn more about this feature in the official documentation and the demo video.

Specifying the list of the allowed sources based on which CDEs can be started

With this release, you can specify the list of URLs based on which Cloud Development Environments (CDEs) can be initialized using the dedicated optional allowedSources CheCluster CR property:

     "devEnvironments": {
       "allowedSources": {
         "urls": ["url_1", "url_2"]
       }

NOTE: When using this property, if a particular URL is not allowed explicitly by the admin, users will not be able to initialize and create CDEs based on this source:

Screenshot 2024-09-24 at 16 50 48

Learn more about this feature in the official documentation.

IntelliJ 'WebStorm' and 'PyCharm' editors for remote development using JetBrains Gateway

IntelliJ 'WebStorm' and 'PyCharm' editors for remote development using JetBrains Gateway are available on the User Dashboard:

Screenshot 2024-09-24 at 14 33 01

Passphrase configuration for SSH keys

With this release, you can specify a passphrase while adding a new SSH key using the "SSH Keys" tab in the User Preferences:

screenshot-eclipse-che apps rosa kd8yx-tndh6-rve jav8 p3 openshiftapps com-2024 08 01-09_52_48

Adding an option to deploy operands on specific cluster nodes

With this release, you can deploy operands managed by the operator (dashboard, gateway, plugin-registry etc.) on the specific cluster nodes using the dedicated nodeSelector and tolerations properties CR properties:

  dashboard:
      deployment:
        nodeSelector:
        tolerations:

Possibility to hide some of the default editors on the User Dashboard

With this release, you can conceal editor definitions. This is useful when an admin wants to hide particular editor(s) from the Dashboard UI, e.g. remove the IntelliJ and have only Visual Studio Code - Open Source visible.

Learn more about the procedure in the official documentation.

Allow starting existing workspaces even if GitHub is down

Before this release, if GitHub OAuth was configured and GitHub was down, you could not start existing CDEs from this source. The defect has been fixed in this release and existing CDE will be started even if the OAuth provider is down with a dedicated warning message shown during start:

Screenshot 2024-09-24 at 14 22 10

Support devfile endpoint annotations

With this release, you can provide endpoint annotations in the devfile. For example, the following devfile snippet will create an ingress or route with the annotation foo: bar on CDE startup:

components:
  - container:
      endpoints:
        - name: my-endpoint
          annotation:
            foo: bar
            ...

Provide a way to set the runtime class for all CDE pods using CheCluster CR

The spec.devEnvironments.runtimeClassName property has been added to the CheCluster CR. This property sets the spec.runtimeClassName for all CDE pods. The controller.devfile.io/runtime-class attribute for the CDE has precedence over the CheCluster spec.devEnvironments.runtimeClassName property.

Ignore the 'FailedScheduling' event by default when starting a CDE

With the release, the FailedScheduling event is the default value for the spec.devEnvironments.ignoredUnrecoverableEvents property. This is beneficial when the cluster has an autoscaler configured. If a CDE pod cannot be scheduled on any node causing a FailedScheduling event, the CDE startup will be retried when the new node is provisioned.

Bug Fixes

Dashboard is not available when using the CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN property

Previously there was a known issue affecting workspaces using Azure DevOps, Bitbucket or GitHub providers in connection with the CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN property. Every time you started a workspace, a new personal access token (PAT) was added and the previous one was not removed. When there were more than five existing PATs, you were not able to run the workspace, and the Dashboard was not available. The defect has been fixed in this release.

Previous CDEs error displayed during restart

Before this release, the error message from the previous start would sometimes be shown after the CDE restart which was confusing for the user:

Screenshot 2024-09-24 at 17 41 23

The defect has been fixed in this release.

Eclipse Che 7.91.0

03 Sep 18:00
Compare
Choose a tag to compare

Bug Fixes

SSH key invalid when added from the dashboard by pasting the key strings

Previously, pasting SSH keys from the User Preferences page in the Che Dashboard caused an invalid format error when cloning a git repository. This issue has been fixed in this release.

Missing Podman when a volume is mounted to /home/user/.local

When a persistent volume mount had a mount path of /home/user/.local, podman was missing in the CDE's Universal Developer Image (UDI) container. This bug has been fixed in the latest UDI version.

Untrusted repository warnings

In certain scenarios, the "Do you trust the authors of this repository" warning modal was reappearing for CDE starts and clicking "Continue" on the warning modal did not immediately start the CDE. These issues have been fixed in this release.

image

Closed issues

Upgrade version of devfile/api to 2.3.0 #23041
Untrusted source warning should not be shown when start existed workspace #23106
The Untrusted Repository modal reappears when the workspace starts #23097
Workspace should be started when click Continue button on Untrusted source warning window #23107
fix: operator tests for DS che-operator#1886
fix: upgrade axios che-dashboard#1176
Upgrade axios version che-code#405
Update dependencies che-code#398
fix: Updating procedure for namespace provisioning in advance che-docs#2779
fix: safe-to-evict annotation value che-docs#2780
Use consistent capitalization in error messages devworkspace-operator#1092

Eclipse Che 7.90.0

19 Aug 08:24
Compare
Choose a tag to compare

Major Enhancements

Warning users that creating a CDE from an unknown source could be dangerous

With this release, when you start a CDE from a URL, you are asked if you trust the authors of the repository since creating a workspace from unknown or untrusted sources could be dangerous.

Screenshot 2024-08-14 at 13 58 54

Advanced configuration options for the 'Import from Git' flow

Starting from this release, it is possible to configure the container image, temporary storage, memory and CPU limits when starting a CDE using the "Import from Git" flow:

Screenshot 2024-08-14 at 11 03 45

Move stow / kubedoc and other internal features to the Universal Base Image

Kubedock, podman, fuse-overlayfs, buildah, and skopeo have been moved from the universal developer image to the universal base image. This makes the universal base image a minimal image containing prerequisites for Kubedock and container image building within Eclipse Che CDEs.

Add pod placement capabilities for devworkspace-webhook-server and make it more robust

With this release, the devworkspace-webhook-server deployment configuration options are available in the global DevWorkspaceOperatorConfig (DWOC) including: replicas, pod tolerations and nodeSelector.

These configuration options exist in the global DWOC's config.webhook field:

apiVersion: controller.devfile.io/v1alpha1
kind: DevWorkspaceOperatorConfig
metadata:
  name: devworkspace-operator-config
  namespace: $OPERATOR_INSTALL_NAMESPACE
config:  
 routing:  
   clusterHostSuffix: 192.168.49.2.nip.io  
   defaultRoutingClass: basic  
 webhook:  
   nodeSelector:  <string, string>
   tolerations: <[]tolerations>
   replicas: <int32> 

Note: In order for the devworkspace-webhook-server configuration options to take effect:

  • You must place them in the global DWOC, which has the name devworkspace-operator-config and exists in the namespace where the DevWorkspaceOperator is installed. If it does not already exist on the cluster, you must create it.
  • You must terminate the devworkspace-controller-manager pod and restart it so that the devworkspace-webhook-server deployment can be adjusted accordingly.

Additionally, the default replica count for the devworkspace-webhook-server deployment has been increased to 2 to increase availability.

Add DisableInitContainer field in the Custom Resource

The DisableInitContainer field has been added to the CheCluster CR. This field sets the config.workspaces.persistUserHome.disableInitContainer field in the operator-owned DWOC. This field whether the init container that initializes the persistent home directory should be disabled.

When the /home/user directory is persisted, the init container is used to initialize the directory before the workspace starts. If set to true, the init container will not be created, delegating the home persistence setup to the CDE's first container component's entrypoint. This field is not used if the devEnvironments.persistUserHome.enabled field is set to false.

The init container is enabled by default.

image

Deprecation and archivation of the 'che-devfile-registry' repository

The devfile registry hosted at registry.devfile.io is used by default for the Getting Started samples starting from the Eclipse Che 7.82.0. In this release, the Eclipse Che-specific che-devfile-registry repository has been archived and officially deprecated. For configuring the custom Getting-Started samples, the admin should leverage the dedicated k8s ConfigMap.

Find more details in the official documentation.

Bug Fixes

Inconsistency in the behaviour of the $PATH environment variable within Devfile

Previously, when commands were executed using the command definition in the devfile, they had a different $PATH compared to commands launched in containers defined within the components section. The defect has been fixed in this release.

User-provided environment variables can't reference $PROJECT_ROOT or $PROJECT_SOURCE

Previously, users were not able to reference the $PROJECT_ROOT or $PROJECT_SOURCE environment variables in their devfile environment variables. This issue has now been fixed in this release.

Workspace status flickering during startup

Previously, during a workspace startup, the status could have been unexpectedly changed to 'Stopped' even though the workspace started successfully. The defect has been fixed in this release, and the status changes are ignored during workspace startup.

Starting a new workspace with a clone of the specified branch doesn't work correctly if the repo doesn't have devfile.yaml

Previously, starting a new workspace with a clone of a specified branch didn't work correctly if the repository didn't have devfile.yaml. Instead, the default branch was always cloned after the CDE startup. The defect has been fixed in this release.

Branch detection for Azure does not work on the User Dashboard

Before this release, branch detection for Azure repositories was not working on the User Dashboard. The defect has been fixed in this release:

Screenshot 2024-08-14 at 10 47 40

AzureDevops Git repos with white spaces in the URL

Previously, creating a CDE based on an AzureDevops Git repository which contained a blank space or special character in the URL resulted in the following Error: Unsupported factory location: "<Azure DevOps Repo Link>". The defect has been fixed in this release.

Failed to create the workspace by factory from Github Enterprise server public repo if PAT or OAuth not configured

Before this release, creating a workspace from GitHub Enterprise public repositories that have no personal access token (PAT) or OAuth configured resulted in the following error: "Failed to create the workspace. Cannot build factory with any of the provided parameters. Please check parameters correctness, and resend query." The defect has been fixed in this release.

Workspace start page goes to cyclic reload if refresh token mode is applied

Previously, using the experimental CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN feature could result in the cyclic reload sequence during CDE startup. The defect has been fixed in this release.

Learn more about the CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN feature in the official documentation.

Invalidate previous tokens if refresh token mode is enabled

Previously, using the experimental CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN feature a new token was generated on each workspace start / restart, but the previous tokens were not removed. The defect has been fixed in this release.

Learn more about the CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN feature in the official documentation.

Eclipse Che 7.89.0

23 Jul 21:03
Compare
Choose a tag to compare

Major Enhancements

Git Configuration from the User Dashboard

With this release, you can not only set the name and email for the Git Configuration but also to upload and edit the entire .gitconfig file from the User Dashboard:

Знімок екрана 2024-06-24 о 16 21 52

Support devWorkspace.ignoredUnrecoverableEvents in the CheCluster CustomResource

Starting from this release, you can set ignoredUnrecoverableEvents explicitly on the CheCluster CustomResource level:

apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
  devEnvironments:
    ignoredUnrecoverableEvents:
    - FailedScheduling
    - FailedMount

image

More details about configuring ignoredUnrecoverableEvents can be found in the official documentation.

Improved documentation for adding and removing extensions in the embedded Open VSX registry instance

Official documentation for adding and removing extensions in the embedded Open VSX registry instance has been sufficiently improved in this release which makes the procedure much more straight forward.

Bug Fixes

Allow Ports in Git Provider Endpoint for Personal Access Tokens

With this release, you can provide ports in the URL for Git Provider Endpoint when adding Personal Access Tokens on the User Dashboard. Previously, it was not possible due to strict validation:

image

If persistHome is enabled, the token in .kube/config isn't renewed

Prior to this release, when the spec.devEnvironments.persistUserHome option was enabled, the token in .kube/config was not renewed automatically during a workspace restart.

You can find more details about automatic Kubernetes token injection in the official documentation

Keep projects when restarting a workspace from local devfile

Previously, PROJECTS_ROOT and PROJECT_SOURCE environment variables were not correctly set after using the Restart Workspace from Local Devfile functionality. The defect has been fixed in this release.

Eclipse Che 7.88.0

02 Jul 17:23
Compare
Choose a tag to compare

Major Enhancements

Allow defining annotations for all pods in the Cloud Development Environment

With this release, you can define annotations for all Cloud Development Environment (CDE) pods using a dedicated CustomResource field:

apiVersion: org.eclipse.che/v2
kind: CheCluster
spec:
  devEnvironments:
    workspacesPodAnnotations:
      cluster-autoscaler.kubernetes.io/safe-to-evict: false

Configuring custom editor definitions using a configmap

Previously, you could only configure custom editor definitions by modifying and rebuilding the Plugin Registry. Starting from this release, you can configure them by creating a dedicated ConfigMap.

Learn more about this feature in the official documentation.

Enabling fuse-overlayfs for all workspaces

Starting from this release, you can enable fuse-overlayfs for all CDEs.

Learn more about this feature in the official documentation and the community blog post.

Meaningful dashboard warnings for namespace provisioning failures when auto-provisioning is disabled and the Advanced Authorization is enabled

With this release, the user experience during failures related to pre-configured Advanced Authorization is improved. When your access is denied, you will see a clear error message when accessing the User Dashboard:

Screenshot 2024-06-27 at 17 37 06

Learn more about Advanced Authorization in the official documentation and community blog post.

Documentation for running containers with kubedoc

Official documentation for running containers from CDEs using kubedoc is available in this release.

Always refresh OAuth tokens during workspace startup

A new experimental feature that forces a refresh of the OAuth access token during workspace startup has been added in this release.

Learn more about this feature in the official documentation.

Devfile 2.3.0 support

With this release, the new 2.3.0 schemaVersion of the devfile is supported for the CDE definition:

schemaVersion: 2.3.0
metadata:
  generateName: quarkus-api-example
attributes:
  controller.devfile.io/storage-type: ephemeral
components:
  - name: tools
    container:
      image: quay.io/devfile/universal-developer-image:ubi8-latest
      env:
        - name: QUARKUS_HTTP_HOST
          value: 0.0.0.0
... 

More details about version 2.3.0 are available in the official documentation.

Screenshot 2024-06-26 at 13 54 45

Major Bug fixes

Support different user for SSH URLs

Previously, strict validation prevented workspace creation from URLs such as [email protected]:/home/user1/repositories/myrepo.git:

Screenshot 2024-06-27 at 17 32 16

The defect has been fixed in this release.

Dashboard Git Services tab duplicates status icon if two GitHub providers are configured

Prior to this release, if GitHub OAuth configuration secrets were set up for both SaaS and Enterprise, and if the authorization agreement was accepted for only one of the providers, the authorization status was duplicated for both providers on the Git Services tab:

screenshot-eclipse-che apps rosa frmk4-wcwdq-vmd zp2m p3 openshiftapps com-2024 05 20-13_29_18

The defect has been fixed in this release.

Zombie processes remain in workspace container after a task is terminated

Before this release, you could encounter a lot of processes labeled <defunct> in the workspace container while working in Visual Studio Code - Open Source ("Code - OSS"):

Screenshot 2024-07-01 at 18 14 30

Environment variables are ignored and tasks fail

Prior to this release,GOPATH and GOCACHE environment variables were not correctly set when running dedicated commands defined in a devfile. This resulted in failed tasks, for tasks such as the go build task. The defect has been fixed in this release.

Mounting files that conflict with stow directory files causes failures during $HOME directory persistence

Previously, mounting files using a ConfigMap, Secret, or PVC that conflict with stow directory files resulted in the stow command failure during the execution of the $HOME directory persistence. The defect has been fixed in this release.

Fix 'Open in Preview' action for the Endpoints panel

Visual Studio Code - Open Source ("Code - OSS") actions related to endpoints were not working as expected:

image

The defect has been fixed in this release.

demo.mp4