-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpod.yaml
40 lines (40 loc) · 852 Bytes
/
pod.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
apiVersion: v1
kind: Pod
metadata:
name: kaniko
spec:
containers:
- name: jnlp
image: jenkins/jnlp-slave:3.35-5-alpine
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
serviceAccount: jenkins-operator-todo
serviceAccountName: jenkins-operator-todo
- name: kaniko
image: gcr.io/kaniko-project/executor:debug-v0.15.0
command:
- /busybox/cat
resources:
limits:
cpu: 200m
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
tty: true
volumeMounts:
- name: registry-cred
mountPath: /kaniko/.docker/
volumes:
- name: registry-cred
secret:
secretName: registry-cred
items:
- key: .dockerconfigjson
path: config.json
restartPolicy: Never