forked from BetterCloud/scim2
-
Notifications
You must be signed in to change notification settings - Fork 4
/
builderPodTemplate.yaml
47 lines (47 loc) · 1.26 KB
/
builderPodTemplate.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
43
44
45
46
47
apiVersion: v1
kind: Pod
spec:
imagePullSecrets:
- name: talend-registry
containers:
- name: talend-tsbi-springboot-builder
image: artifactory.datapwn.com/tlnd-docker-prod/talend/common/tsbi/jdk21-dev-base:4.0.7-20231211094745
resources:
requests:
memory: "2G"
cpu: "2"
limits:
memory: "6G"
cpu: "4"
command:
- cat
tty: true
volumeMounts:
- name: efs-jenkins-tpsvc-maven
mountPath: /root/.m2/repository
- name: gradle-cache
mountPath: /root/.gradle/caches/modules-2/files-2.1
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: docker-daemon
image: artifactory.datapwn.com/docker-io-remote/docker:24.0.5-dind
env:
- name: DOCKER_TLS_CERTDIR
value: ""
securityContext:
privileged: true
volumeMounts:
- name: docker-cache
mountPath: /var/lib/docker
volumes:
- name: efs-jenkins-tpsvc-maven
persistentVolumeClaim:
claimName: efs-jenkins-tpsvc-m2
- name: gradle-cache
hostPath:
path: /data/gradle/caches/modules-2/files-2.1
- name: docker-cache
hostPath:
path: /tmp
type: Directory