forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.yaml
56 lines (56 loc) · 1.19 KB
/
template.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
48
49
50
51
52
53
54
55
56
apiVersion: v1
kind: Pod
metadata:
name: kaniko-build
namespace: jenkins
labels:
build: kaniko
spec:
serviceAccountName: jenkins
containers:
- name: kubectl
image: joshendriks/alpine-k8s
command:
- /bin/cat
tty: true
volumeMounts:
- mountPath: /k8.yaml
subPath: k8.yaml
name: kubeconfig
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
imagePullPolicy: Always
command:
- /busybox/sh
args:
- -c
- |
while true; do sleep 30; done
volumeMounts:
- name: docker-secret
mountPath: /kaniko/.docker
- mountPath: /kaniko/k8.yaml
subPath: k8.yaml
name: kubeconfig
resources:
requests:
memory: "1.5Gi"
cpu: "1.5"
limits:
memory: "3Gi"
cpu: "3"
volumes:
- name: docker-secret
secret:
secretName: docker-secret
items:
- key: .dockerconfigjson
path: config.json
- name: kubeconfig
configMap:
name: kubeconfig
- name: secrets
configMap:
name: secrets
imagePullSecrets:
- name: docker-secret