Merge pull request #1294 from skriss/master-curl-redirect
add -L flag to curl commands (master branch)pull/1299/head
commit
de09fd7cdc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue