From b299a73f3c7c9b5de1c3e7166229a4865498f9a1 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Thu, 14 Nov 2019 22:09:20 -0800 Subject: [PATCH] Remove registry urls from templates. --- pki/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki/templates.go b/pki/templates.go index 54c1f168..8cf62674 100644 --- a/pki/templates.go +++ b/pki/templates.go @@ -39,7 +39,7 @@ var SSHTemplateData = map[string]string{ User {{.User.User}} {{- end }} UserKnownHostsFile {{.User.StepPath}}/ssh/known_hosts - ProxyCommand step ssh proxycommand {{- if .User.RegistryUsername}} --username {{.User.RegistryUsername}}{{end}}{{- if .User.RegistryPassword}} --password {{.User.RegistryPassword}}{{end}} %r %h %p`, + ProxyCommand step ssh proxycommand %r %h %p`, // known_hosts.tpl authorizes the ssh hosts key "known_hosts.tpl": `@cert-authority * {{.Step.SSH.HostKey.Type}} {{.Step.SSH.HostKey.Marshal | toString | b64enc}}