* Deploy Virtual Bussiness card.
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.
 
 
 

28 lines
761 B

apiVersion: v1
kind: Pod
metadata:
name: virtualcard
spec:
containers:
- name: kaniko
image: gcr.io/kaniko-project/executor:latest
args: [
"--dockerfile=./Dockerfile",
"--context=dir:///workspace/",
"--destination=phamduchongan93/virtualporfolio"] # replace with your dockerhub account
volumeMounts:
- name: kaniko-secret
mountPath: /kaniko/.docker
- name: dockerfile-storage
mountPath: /workspace
restartPolicy: Never
volumes:
- name: kaniko-secret
secret:
secretName: regcred
items:
- key: .dockerconfigjson
path: config.json
- name: dockerfile-storage
persistentVolumeClaim:
claimName: dockerfile-virtualporfolio-claim