From 5f7872b0a82cce77fad0a3408104b2b7dd769091 Mon Sep 17 00:00:00 2001 From: Alexander Sharov Date: Tue, 16 Jun 2020 21:26:06 +0400 Subject: [PATCH] Fix README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5e0b7bdb73..bb5bdbd95b 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ Complete example of how to interactively run kaniko with `.tar.gz` Standard Inpu echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | tar -cf - Dockerfile | gzip -9 | kubectl run kaniko \ --rm --stdin=true \ --image=gcr.io/kaniko-project/executor:latest --restart=Never \ ---overrides='{ +--overrides='{ "apiVersion": "v1", "spec": { "containers": [ @@ -211,12 +211,12 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta "--context=tar://stdin", "--destination=gcr.io/my-repo/my-image" ], "volumeMounts": [ - { + { "name": "cabundle", "mountPath": "/kaniko/ssl/certs/" }, - { - "name": "docker-config", + { + "name": "docker-config", "mountPath": "/kaniko/.docker/" }] }], @@ -225,9 +225,9 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta "name": "cabundle", "configMap": { "name": "cabundle"}}, - { + { "name": "docker-config", - "configMap": { + "configMap": { "name": "docker-config" }} ] } @@ -613,7 +613,7 @@ Set this flag as `--log-format=` to set the log format. Default #### --log-timestamp -Set this flag as `--log-format=` to add timestamps to `` log format. Defaults to `false`. +Set this flag as `--log-timestamp=` to add timestamps to `` log format. Defaults to `false`. #### --whitelist-var-run