forked from eformat/web-terminal
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathweb-terminal-all-in-one.yaml
More file actions
77 lines (77 loc) · 1.74 KB
/
web-terminal-all-in-one.yaml
File metadata and controls
77 lines (77 loc) · 1.74 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
apiVersion: v1
kind: Namespace
metadata:
name: openshift-terminal
---
apiVersion: controller.devfile.io/v1alpha1
config:
workspace:
idleTimeout: 8h
imagePullPolicy: Always
kind: DevWorkspaceOperatorConfig
metadata:
name: devworkspace-operator-config
namespace: openshift-operators
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: web-terminal
namespace: openshift-operators
spec:
channel: fast
installPlanApproval: Automatic
name: web-terminal
source: redhat-operators
sourceNamespace: openshift-marketplace
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: devworkspace-operator
namespace: openshift-operators
spec:
channel: fast
installPlanApproval: Automatic
name: devworkspace-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
---
apiVersion: workspace.devfile.io/v1alpha2
kind: DevWorkspaceTemplate
metadata:
annotations:
controller.devfile.io/allow-import-from: '*'
labels:
console.openshift.io/terminal: "true"
name: web-terminal-tooling
namespace: openshift-operators
spec:
attributes:
controller.devfile.io/storage-type: per-workspace
components:
- container:
args:
- tail
- -f
- /dev/null
cpuLimit: 800m
cpuRequest: 100m
image: quay.io/noeloc/opencode:latest
memoryLimit: 4096Mi
memoryRequest: 128Mi
mountSources: false
sourceMapping: /home/user/workspace
volumeMounts:
- name: work-storage
path: /home/user/workspace
- name: cli-storage
path: /home/user/.local
name: web-terminal-tooling
- name: work-storage
volume:
ephemeral: false
- name: cli-storage
volume:
ephemeral: false