added docker config secret
[pipelinelib] / resources / podtemplates / kaniko.yaml
1 apiVersion: v1
2 kind: Pod
3 spec:
4   containers:
5     - name: kaniko
6       image: gcr.io/kaniko-project/executor:debug
7       #imagePullPolicy: Always
8       command:
9         - /busybox/cat
10       tty: true
11       resources:
12         requests:
13           memory: "2048M"
14           cpu: "1000m"
15           ephemeral-storage: "5Gi"
16       volumeMounts:
17         - name: docker-config
18           mountPath: /kaniko/.docker/config.jaon
19           subPath: config.json
20   volumes:
21     - name: docker-config
22       configMap:
23         name: docker-config
24