Merge pull request #1323 from kvendingoldo/master

Fix README.md
This commit is contained in:
priyawadhwa 2020-06-16 11:45:10 -07:00 committed by GitHub
commit 82f5ec9612
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -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 \ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | tar -cf - Dockerfile | gzip -9 | kubectl run kaniko \
--rm --stdin=true \ --rm --stdin=true \
--image=gcr.io/kaniko-project/executor:latest --restart=Never \ --image=gcr.io/kaniko-project/executor:latest --restart=Never \
--overrides='{ --overrides='{
"apiVersion": "v1", "apiVersion": "v1",
"spec": { "spec": {
"containers": [ "containers": [
@ -211,12 +211,12 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta
"--context=tar://stdin", "--context=tar://stdin",
"--destination=gcr.io/my-repo/my-image" ], "--destination=gcr.io/my-repo/my-image" ],
"volumeMounts": [ "volumeMounts": [
{ {
"name": "cabundle", "name": "cabundle",
"mountPath": "/kaniko/ssl/certs/" "mountPath": "/kaniko/ssl/certs/"
}, },
{ {
"name": "docker-config", "name": "docker-config",
"mountPath": "/kaniko/.docker/" "mountPath": "/kaniko/.docker/"
}] }]
}], }],
@ -225,9 +225,9 @@ echo -e 'FROM alpine \nRUN echo "created from standard input"' > Dockerfile | ta
"name": "cabundle", "name": "cabundle",
"configMap": { "configMap": {
"name": "cabundle"}}, "name": "cabundle"}},
{ {
"name": "docker-config", "name": "docker-config",
"configMap": { "configMap": {
"name": "docker-config" }} "name": "docker-config" }}
] ]
} }
@ -613,7 +613,7 @@ Set this flag as `--log-format=<text|color|json>` to set the log format. Default
#### --log-timestamp #### --log-timestamp
Set this flag as `--log-format=<true|false>` to add timestamps to `<text|color>` log format. Defaults to `false`. Set this flag as `--log-timestamp=<true|false>` to add timestamps to `<text|color>` log format. Defaults to `false`.
#### --whitelist-var-run #### --whitelist-var-run