add vs code devfile with no exposed endpoints
This commit is contained in:
commit
498a71f777
1 changed files with 86 additions and 0 deletions
86
code
Normal file
86
code
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
schemaVersion: 2.2.2
|
||||||
|
metadata:
|
||||||
|
name: che-code
|
||||||
|
displayName: VS Code - Open Source
|
||||||
|
description: Microsoft Visual Studio Code - Open Source IDE for Eclipse Che
|
||||||
|
icon: /images/vscode.svg
|
||||||
|
attributes:
|
||||||
|
publisher: che-incubator
|
||||||
|
version: 7.107.0
|
||||||
|
title: Microsoft Visual Studio Code - Open Source IDE for Eclipse Che
|
||||||
|
repository: https://github.com/che-incubator/che-code
|
||||||
|
firstPublicationDate: '2021-10-31'
|
||||||
|
commands:
|
||||||
|
- id: init-container-command
|
||||||
|
apply:
|
||||||
|
component: che-code-injector
|
||||||
|
- id: init-che-code-command
|
||||||
|
exec:
|
||||||
|
component: che-code-runtime-description
|
||||||
|
commandLine: nohup /checode/entrypoint-volume.sh > /checode/entrypoint-logs.txt 2>&1 &
|
||||||
|
events:
|
||||||
|
preStart:
|
||||||
|
- init-container-command
|
||||||
|
postStart:
|
||||||
|
- init-che-code-command
|
||||||
|
components:
|
||||||
|
- name: che-code-injector
|
||||||
|
container:
|
||||||
|
image: quay.io/che-incubator/che-code@sha256:6d755fc71b1fa3c266c13d7d707f2345e12ca6a4a20b127d668573097530d6d9
|
||||||
|
command:
|
||||||
|
- /entrypoint-init-container.sh
|
||||||
|
volumeMounts:
|
||||||
|
- name: checode
|
||||||
|
path: /checode
|
||||||
|
memoryLimit: 256Mi
|
||||||
|
memoryRequest: 32Mi
|
||||||
|
cpuLimit: 500m
|
||||||
|
cpuRequest: 30m
|
||||||
|
- name: che-code-runtime-description
|
||||||
|
container:
|
||||||
|
image: quay.io/devfile/universal-developer-image@sha256:42c94b19f0e3a7cb47d4583f8dd5b3dc77f15d80e0562309a3d2d5145aebfe7a
|
||||||
|
memoryLimit: 1024Mi
|
||||||
|
memoryRequest: 256Mi
|
||||||
|
cpuLimit: 500m
|
||||||
|
cpuRequest: 30m
|
||||||
|
volumeMounts:
|
||||||
|
- name: checode
|
||||||
|
path: /checode
|
||||||
|
endpoints:
|
||||||
|
- name: che-code
|
||||||
|
attributes:
|
||||||
|
type: main
|
||||||
|
cookiesAuthEnabled: true
|
||||||
|
discoverable: false
|
||||||
|
urlRewriteSupported: true
|
||||||
|
targetPort: 3100
|
||||||
|
exposure: none
|
||||||
|
secure: true
|
||||||
|
protocol: https
|
||||||
|
- name: code-redirect-1
|
||||||
|
targetPort: 13131
|
||||||
|
exposure: none
|
||||||
|
protocol: https
|
||||||
|
attributes:
|
||||||
|
discoverable: false
|
||||||
|
urlRewriteSupported: false
|
||||||
|
- name: code-redirect-2
|
||||||
|
targetPort: 13132
|
||||||
|
exposure: none
|
||||||
|
protocol: https
|
||||||
|
attributes:
|
||||||
|
discoverable: false
|
||||||
|
urlRewriteSupported: false
|
||||||
|
- name: code-redirect-3
|
||||||
|
targetPort: 13133
|
||||||
|
exposure: none
|
||||||
|
protocol: https
|
||||||
|
attributes:
|
||||||
|
discoverable: false
|
||||||
|
urlRewriteSupported: false
|
||||||
|
attributes:
|
||||||
|
app.kubernetes.io/component: che-code-runtime
|
||||||
|
app.kubernetes.io/part-of: che-code.eclipse.org
|
||||||
|
controller.devfile.io/container-contribution: true
|
||||||
|
- name: checode
|
||||||
|
volume: {}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue