Browse Source

Update devfile.yaml

main
Nicolas Massé 3 years ago
committed by GitHub
parent
commit
bad9e0c9f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 89
      devfile.yaml

89
devfile.yaml

@ -21,95 +21,6 @@ starterProjects:
remotes:
origin: 'https://github.com/odo-devfiles/springboot-ex.git'
components:
- attributes:
che-code.eclipse.org/contribute-cpuLimit: true
che-code.eclipse.org/contribute-cpuRequest: true
che-code.eclipse.org/contribute-endpoint/che-code: 3100
che-code.eclipse.org/contribute-endpoint/code-redirect-1: 13131
che-code.eclipse.org/contribute-endpoint/code-redirect-2: 13132
che-code.eclipse.org/contribute-endpoint/code-redirect-3: 13133
che-code.eclipse.org/contribute-entry-point: true
che-code.eclipse.org/contribute-memoryLimit: true
che-code.eclipse.org/contribute-memoryRequest: true
che-code.eclipse.org/contribute-volume-mount/checode: /checode
che-code.eclipse.org/contributed-container: tools
che-code.eclipse.org/original-memoryLimit: 4G
container:
command:
- /checode/entrypoint-volume.sh
cpuLimit: 500m
cpuRequest: 30m
endpoints:
- exposure: none
name: debug
protocol: tcp
targetPort: 5005
- exposure: public
name: hello-greeting-endpoint
path: /hello/greeting/devspaces-user
protocol: http
targetPort: 8080
- attributes:
contributed-by: che-code.eclipse.org
cookiesAuthEnabled: true
discoverable: false
type: main
urlRewriteSupported: true
exposure: public
name: che-code
path: '?tkn=eclipse-che'
protocol: https
secure: false
targetPort: 3100
- attributes:
contributed-by: che-code.eclipse.org
discoverable: false
urlRewriteSupported: true
exposure: public
name: code-redirect-1
protocol: http
targetPort: 13131
- attributes:
contributed-by: che-code.eclipse.org
discoverable: false
urlRewriteSupported: true
exposure: public
name: code-redirect-2
protocol: http
targetPort: 13132
- attributes:
contributed-by: che-code.eclipse.org
discoverable: false
urlRewriteSupported: true
exposure: public
name: code-redirect-3
protocol: http
targetPort: 13133
env:
- name: QUARKUS_HTTP_HOST
value: 0.0.0.0
- name: CHE_DASHBOARD_URL
value: 'https://devspaces.apps.appdev.itix.xyz'
- name: CHE_PLUGIN_REGISTRY_URL
value: 'https://devspaces.apps.appdev.itix.xyz/plugin-registry/v3'
- name: CHE_PLUGIN_REGISTRY_INTERNAL_URL
value: 'http://plugin-registry.openshift-devspaces.svc:8080/v3'
- name: OPENVSX_REGISTRY_URL
value: 'https://open-vsx.org'
image: 'registry.redhat.io/devspaces/udi-rhel8@sha256:ac5aaba0bbf1caa7f23205ab837e3029ff9f605211ebf38bdf4b9f1b8fb1ba83'
memoryLimit: 5.07G
memoryRequest: 256Mi
mountSources: true
sourceMapping: /projects
volumeMounts:
- name: m2
path: /home/user/.m2
- name: checode
path: /checode
name: tools
- name: m2
volume:
size: 1G
- name: kube
volume: {}
- name: openshift

Loading…
Cancel
Save