-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathsample-devfile.yaml
42 lines (42 loc) · 1017 Bytes
/
sample-devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
schemaVersion: "2.0.0"
metadata:
name: "devfile example"
version: "1.0.0"
projects:
- name: "my-project"
git:
remotes:
origin: "https://github.com/devfile/api"
checkoutFrom:
revision: "main"
remote: origin
components:
- name: editor
attributes:
kjkh: "128M"
kjhkjh:
"": ""
plugin:
id: eclipse/che-theia/latest
- name: "ownplugin"
plugin:
id: acme/newPlugin/latest
registryUrl: "https://acme.com/registry/"
- name: "myplugin"
plugin:
uri: "https://github.com/johndoe/che-plugins/blob/master/cool-plugin/0.0.1/meta.yaml"
- name: "mycontainer"
container:
image: "busybox"
memoryLimit: "128M"
mountSources: true
endpoints:
- name: term-websockets
exposure: public
protocol: ws
attributes:
type: terminal
targetPort: 4000
- name: "production"
kubernetes:
uri: "https://somewhere/production-environment.yaml"