From 2ca2b631cb16dc88f4ca47f919016f8fcfe76b83 Mon Sep 17 00:00:00 2001 From: Jesse Suen Date: Tue, 16 Jul 2019 13:00:49 -0700 Subject: [PATCH] Document the insecureIgnoreHostKey git flag --- examples/input-artifact-git.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/input-artifact-git.yaml b/examples/input-artifact-git.yaml index 8720db459829..de237dfe2182 100644 --- a/examples/input-artifact-git.yaml +++ b/examples/input-artifact-git.yaml @@ -30,6 +30,12 @@ spec: # sshPrivateKeySecret: # name: github-creds # key: ssh-private-key + # + # insecureIgnoreHostKey disables SSH strict host key checking during the git clone + # NOTE: this is unnecessary for the well-known public SSH keys from the major git + # providers (github, bitbucket, gitlab, azure) as these keys are already baked into + # the executor image which performs the clone. + # insecureIgnoreHostKey: true container: image: golang:1.10 command: [sh, -c]