forked from eclipse-orbit/orbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pod.yml
46 lines (46 loc) · 1.11 KB
/
pod.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
apiVersion: v1
kind: Pod
spec:
containers:
- name: container
image: rgrunber/orbit-recipes-build@sha256:b962fe745e73c66000f958916849c76cc1739d4fbac582e9756db1b2e73440b0
tty: true
command: [ "uid_entrypoint", "cat" ]
resources:
requests:
memory: "2Gi"
cpu: "1"
limits:
memory: "2Gi"
cpu: "1"
volumeMounts:
- name: volume-known-hosts
mountPath: /home/vnc/.ssh
- name: jenkins-home
mountPath: /home/jenkins
readOnly: false
- name: jnlp
image: 'eclipsecbi/jenkins-jnlp-agent'
volumeMounts:
- name: volume-known-hosts
mountPath: /home/jenkins/.ssh
- name: settings-xml
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
readOnly: true
- name: m2-repo
mountPath: /home/jenkins/.m2/repository
volumes:
- name: volume-known-hosts
configMap:
name: known-hosts
- name: settings-xml
secret:
secretName: m2-secret-dir
items:
- key: settings.xml
path: settings.xml
- name: m2-repo
emptyDir: {}
- name: jenkins-home
emptyDir: {}