From 1fb3d20f9036cb3e4be61ec5c249e6398251ee88 Mon Sep 17 00:00:00 2001 From: Ilya Buziuk Date: Wed, 25 Mar 2026 14:42:12 +0100 Subject: [PATCH] feat: adding web terminal ttyd editor definition Signed-off-by: Ilya Buziuk --- .../che-web-terminal-latest.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 editors-definitions/che-web-terminal-latest.yaml diff --git a/editors-definitions/che-web-terminal-latest.yaml b/editors-definitions/che-web-terminal-latest.yaml new file mode 100644 index 000000000..390feefec --- /dev/null +++ b/editors-definitions/che-web-terminal-latest.yaml @@ -0,0 +1,79 @@ +# +# Copyright (c) 2026 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# +# Contributors: +# Red Hat, Inc. - initial API and implementation +# + +schemaVersion: 2.3.0 +metadata: + name: che-web-terminal + displayName: Web Terminal + description: Web-based terminal using ttyd for Eclipse Che + tags: + - terminal + - ttyd + attributes: + arch: + - x86_64 + - arm64 + - s390x + - ppc64le + publisher: che-incubator + version: latest + title: Web Terminal for Eclipse Che + repository: https://github.com/tsl0922/ttyd + firstPublicationDate: '2026-04-01' + iconMediatype: image/svg+xml + iconData: | + + + $ + + $ + + $ + + + + + +components: + - name: web-terminal-runtime + container: + image: tsl0922/ttyd:latest + mountSources: true + args: + - --port + - "7681" + - --writable + - -w + - /projects + - /bin/bash + memoryLimit: 1024Mi + memoryRequest: 256Mi + cpuLimit: 500m + cpuRequest: 30m + endpoints: + - name: web-terminal + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + targetPort: 7681 + exposure: public + secure: true + protocol: https + attributes: + app.kubernetes.io/component: web-terminal-runtime + app.kubernetes.io/part-of: web-terminal.eclipse.org + controller.devfile.io/container-contribution: true + +attributes: + version: null