examples/kaniko/README.md
This is an example demonstrating:
Dockerfile using kaniko to build on a K8S clustergitCommit)kubectlIf you are on GCP, create a Service Account for Kaniko that has permissions to pull and push images from/to gcr.io.
Download the json service account file, rename the file to kaniko-secret (do not append .json to the filename) and create a Kubernetes secret using the following example:
kubectl create secret generic kaniko-secret --from-file=kaniko-secret
Note the name of the secret AND the key must be kaniko-secret