forked from eclipse-cbi/org.eclipse.cbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagentPod.yml
69 lines (68 loc) · 1.64 KB
/
agentPod.yml
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
apiVersion: v1
kind: Pod
spec:
containers:
- name: cbi
image: eclipsecbi/cbi-build-env
imagePullPolicy: Always
args: ["cat"]
tty: true
resources:
limits:
memory: 4Gi
cpu: 2
requests:
memory: 4Gi
cpu: 1
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
- mountPath: "/home/jenkins/.m2/repository"
name: "m2repo"
- mountPath: "/home/jenkins/.m2/settings-security.xml"
name: "settings-security-xml"
readOnly: true
subPath: "settings-security.xml"
- mountPath: "/home/jenkins/.m2/settings.xml"
name: "settings-xml"
readOnly: true
subPath: "settings.xml"
- mountPath: "/home/jenkins/.ssh"
name: "known-hosts"
- mountPath: "/home/jenkins/.m2/wrapper"
name: "m2wrapper"
- mountPath: "/opt/tools"
name: "tools"
readOnly: true
volumes:
- name: "settings-security-xml"
secret:
items:
- key: "settings-security.xml"
path: "settings-security.xml"
secretName: "m2-secret-dir"
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
- emptyDir:
name: "m2repo"
- emptyDir:
name: "m2wrapper"
- configMap:
name: "known-hosts"
name: "known-hosts"
- name: "settings-xml"
secret:
items:
- key: "settings.xml"
path: "settings.xml"
secretName: "m2-secret-dir"
- name: "tools"
persistentVolumeClaim:
claimName: "tools-claim-jiro-cbi"
readOnly: true