Add redirect for download scripts. (#5687)

This commit is contained in:
Martin Taillefer 2019-11-14 10:50:09 -08:00 committed by GitHub
parent 78a98b3d20
commit 77a6535313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -37,7 +37,7 @@ Download the Istio release which includes installation files, samples, and the
extract the latest release automatically:
{{< text bash >}}
$ curl -L https://git.io/getLatestIstio | ISTIO_VERSION={{< istio_full_version >}} sh -
$ curl -L https://istio.io/downloadIstio sh -
{{< /text >}}
1. Move to the Istio package directory. For example, if the package is

View File

@ -40,7 +40,7 @@ Download the Istio release which includes installation files, samples and a comm
extract the latest release automatically:
{{< text bash >}}
$ curl -L https://git.io/getLatestIstio | ISTIO_VERSION={{< istio_full_version >}} sh -
$ curl -L https://istio.io/downloadIstio sh -
{{< /text >}}
1. Move to the Istio package directory. For example, if the package is

View File

@ -24,12 +24,13 @@ https://istio.netlify.com/* https://istio.io/:splat 301!
# Redirect for the helm charts
/charts/ https://storage.googleapis.com/istio-release/releases/{{ .Site.Data.args.full_version }}/charts/ 301
# Misc redirects
/latest.sh https://raw.githubusercontent.com/istio/istio/master/release/downloadIstioCandidate.sh
# Redirects for all aliases
{{- range $p := .Site.Pages -}}
{{- range .Aliases }}
{{ . | printf "%-35s" }} {{ $p.RelPermalink }}
{{- end -}}
{{- end }}
# Download scripts
/downloadIstio https://raw.githubusercontent.com/istio/istio/release-{{ .Site.Data.args.version }}/release/downloadIstioCandidate.sh
/downloadIstioctl https://raw.githubusercontent.com/istio/istio/release-{{ .Site.Data.args.version }}/release/downloadIstioCtl.sh