You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
630 B

apiVersion: v1
kind: Pod
metadata:
name: kaniko
namespace: jenkins
spec:
hostAliases:
- ip: "192.168.1.116"
hostnames:
- "api.ocp-cluster.reymota.lab"
containers:
- name: kubectl
image: joshendriks/alpine-k8s
command:
- /bin/cat
tty: true
- name: kaniko
image: gcr.io/kaniko-project/executor:debug
command:
- /busybox/cat
tty: true
volumeMounts:
- name: kaniko-secret
mountPath: /kaniko/.docker
volumes:
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json