Created
January 16, 2023 09:08
-
-
Save svor/d2ab586b489a38287170e854cbcc1d29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schemaVersion: 2.1.0 | |
metadata: | |
name: che-code | |
commands: | |
- id: init-container-command | |
apply: | |
component: che-code-injector | |
events: | |
preStart: | |
- init-container-command | |
components: | |
- name: che-code-runtime-description | |
container: | |
image: quay.io/devfile/universal-developer-image@sha256:d1709bbdfa076474f58f796026a2ed2dd3b24fea7e51ce2cc984e729663ff62c | |
command: | |
- /checode/entrypoint-volume.sh | |
volumeMounts: | |
- name: checode | |
path: /checode | |
memoryLimit: 1024Mi | |
memoryRequest: 256Mi | |
cpuLimit: 500m | |
cpuRequest: 30m | |
endpoints: | |
- name: che-code | |
attributes: | |
type: main | |
cookiesAuthEnabled: true | |
discoverable: false | |
urlRewriteSupported: true | |
targetPort: 3100 | |
exposure: public | |
path: '?tkn=eclipse-che' | |
secure: false | |
protocol: https | |
- name: code-redirect-1 | |
attributes: | |
discoverable: false | |
urlRewriteSupported: true | |
targetPort: 13131 | |
exposure: public | |
protocol: http | |
- name: code-redirect-2 | |
attributes: | |
discoverable: false | |
urlRewriteSupported: true | |
targetPort: 13132 | |
exposure: public | |
protocol: http | |
- name: code-redirect-3 | |
attributes: | |
discoverable: false | |
urlRewriteSupported: true | |
targetPort: 13133 | |
exposure: public | |
protocol: http | |
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: {} | |
- name: che-code-injector | |
container: | |
image: quay.io/che-incubator/che-code:insiders | |
command: | |
- /entrypoint-init-container.sh | |
volumeMounts: | |
- name: checode | |
path: /checode | |
memoryLimit: 128Mi | |
memoryRequest: 32Mi | |
cpuLimit: 500m | |
cpuRequest: 30m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment