Correct the command for build auth. (#907)

If there are multiple YAML files for kubectl, all files should be
specified by -f option.
This commit is contained in:
Guang Ya Liu 2019-02-28 14:56:49 +08:00 committed by Knative Prow Robot
parent 025a5fb602
commit f6dbdb53a7
1 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ into their respective files in `$HOME`.
1. Execute the build:
```shell
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
```
When the build executes, before steps execute, a `~/.ssh/config` will be
@ -137,7 +137,7 @@ to authenticate with the Git service.
1. Execute the build:
```shell
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
```
When this build executes, before steps execute, a `~/.gitconfig` will be
@ -194,7 +194,7 @@ credentials are then used to authenticate with the Git repository.
1. Execute the build:
```shell
kubectl apply --filename secret.yaml serviceaccount.yaml build.yaml
kubectl apply --filename secret.yaml --filename serviceaccount.yaml --filename build.yaml
```
When this build executes, before steps execute, a `~/.docker/config.json` will