From f6dbdb53a7dc86315afcb2569388d7476d7611ae Mon Sep 17 00:00:00 2001 From: Guang Ya Liu Date: Thu, 28 Feb 2019 14:56:49 +0800 Subject: [PATCH] Correct the command for build auth. (#907) If there are multiple YAML files for kubectl, all files should be specified by -f option. --- build/auth.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/auth.md b/build/auth.md index 37457f3a2..503a98296 100644 --- a/build/auth.md +++ b/build/auth.md @@ -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