Merge pull request #1294 from skriss/master-curl-redirect

add -L flag to curl commands (master branch)
pull/1299/head
Nolan Brubaker 2019-03-18 13:27:16 -04:00 committed by GitHub
commit de09fd7cdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -36,14 +36,14 @@ kubectl scale --namespace heptio-ark deployment/ark --replicas 0
ARCH="amd64"
# Download the velero client/example tarball to and unpack
curl https://github.com/heptio/velero/releases/download/v0.11.0/velero-v0.11.0-${OS}-${ARCH}.tar.gz --output velero-v0.11.0-${OS}-${ARCH}.tar.gz
curl -L https://github.com/heptio/velero/releases/download/v0.11.0/velero-v0.11.0-${OS}-${ARCH}.tar.gz --output velero-v0.11.0-${OS}-${ARCH}.tar.gz
tar xvf velero-v0.11.0-${OS}-${ARCH}.tar.gz
# Create the prerequisite CRDs and namespace
kubectl apply -f config/common/00-prereqs.yaml
# Download and unpack the crd-migrator tool
curl https://github.com/vmware/crd-migration-tool/releases/download/v1.0.0/crd-migration-tool-v1.0.0-${OS}-${ARCH}.tar.gz --output crd-migration-tool-v1.0.0-${OS}-${ARCH}.tar.gz
curl -L https://github.com/vmware/crd-migration-tool/releases/download/v1.0.0/crd-migration-tool-v1.0.0-${OS}-${ARCH}.tar.gz --output crd-migration-tool-v1.0.0-${OS}-${ARCH}.tar.gz
tar xvf crd-migration-tool-v1.0.0-${OS}-${ARCH}.tar.gz
# Run the tool against your cluster.
@ -79,4 +79,4 @@ kubectl delete crds -l component=ark
kubectl delete clusterrolebindings -l component=ark
```
[1]: https://heptio.github.io/velero/v0.10.0/upgrading-to-v0.10
[1]: https://heptio.github.io/velero/v0.10.0/upgrading-to-v0.10