diff --git a/editors-definitions/che-web-terminal-latest.yaml b/editors-definitions/che-web-terminal-latest.yaml new file mode 100644 index 000000000..de0a0804e --- /dev/null +++ b/editors-definitions/che-web-terminal-latest.yaml @@ -0,0 +1,78 @@ +# +# 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: | + + + $ + + $ + + $ + + + + + +commands: + - id: start-ttyd-command + exec: + component: ttyd-runtime + commandLine: /usr/bin/ttyd -p 7681 /bin/sh +events: + postStart: + - start-ttyd-command +components: + - name: ttyd-runtime + attributes: + app.kubernetes.io/component: web-terminal-runtime + app.kubernetes.io/part-of: web-terminal.eclipse.org + controller.devfile.io/container-contribution: true + container: + image: docker.io/tsl0922/ttyd:1.7.7-alpine + memoryLimit: 128Mi + memoryRequest: 32Mi + cpuLimit: 500m + cpuRequest: 30m + endpoints: + - name: web-terminal + targetPort: 7681 + exposure: public + protocol: https + attributes: + type: main + cookiesAuthEnabled: true + discoverable: false + urlRewriteSupported: true + +attributes: + version: null