From a76a8d79c4fa6dcffa43abacd6cb77582fd172af Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 4 Dec 2021 14:08:21 +0100 Subject: [PATCH] Start kaniko test --- generic/kaniko-build.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 generic/kaniko-build.yaml diff --git a/generic/kaniko-build.yaml b/generic/kaniko-build.yaml new file mode 100644 index 0000000..71ba413 --- /dev/null +++ b/generic/kaniko-build.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Pod +metadata: + name: kaniko +spec: + containers: + - name: kaniko + image: gcr.io/kaniko-project/executor:latest + args: + - "--dockerfile=/workspace/dockerfile" + - "--context=dir://workspace" + - "--destination=/" + # 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-claim