Skip to content

Commit

Permalink
Change kubectl DL host to dl.k8s.io (#5379)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo authored Dec 2, 2024
1 parent cf5532b commit 04c1f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/app/piped/toolregistry/tool_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package toolregistry

var kubectlInstallScript = `
cd {{ .WorkingDir }}
curl -LO https://storage.googleapis.com/kubernetes-release/release/v{{ .Version }}/bin/darwin/amd64/kubectl
curl -LO https://dl.k8s.io/release/v{{ .Version }}/bin/darwin/amd64/kubectl
mv kubectl {{ .BinDir }}/kubectl-{{ .Version }}
chmod +x {{ .BinDir }}/kubectl-{{ .Version }}
{{ if .AsDefault }}
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/piped/toolregistry/tool_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package toolregistry

var kubectlInstallScript = `
cd {{ .WorkingDir }}
curl -LO https://storage.googleapis.com/kubernetes-release/release/v{{ .Version }}/bin/linux/amd64/kubectl
curl -LO https://dl.k8s.io/release/v{{ .Version }}/bin/linux/amd64/kubectl
mv kubectl {{ .BinDir }}/kubectl-{{ .Version }}
chmod +x {{ .BinDir }}/kubectl-{{ .Version }}
{{ if .AsDefault }}
Expand Down

0 comments on commit 04c1f35

Please sign in to comment.