Skip to content

Commit 9439ac6

Browse files
authored
Update install instructions for consistent HTTP request package (#1546)
**Description of the change** The kubeseal install command instructions for linux contained both wget and curl commands. This change just uses curl. **Benefits** Reduce the dependencies need to run a one bash block install of kubeseal. **Possible drawbacks** The user has wget installed but not curl, now both commands (version get, and tar download) will fail. **Additional information** I ran into an issue where I copy and pasted the linux install commands for kubeseal that contained the curl and jq to automatically pull the version number, but I didn't have wget installed. Signed-off-by: Dan Fredell <[email protected]>
1 parent b2f1e7e commit 9439ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ The `kubeseal` client can be installed on Linux, using the below commands:
386386

387387
```bash
388388
KUBESEAL_VERSION='' # Set this to, for example, KUBESEAL_VERSION='0.23.0'
389-
wget "https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION:?}/kubeseal-${KUBESEAL_VERSION:?}-linux-amd64.tar.gz"
389+
curl -OL "https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION:?}/kubeseal-${KUBESEAL_VERSION:?}-linux-amd64.tar.gz"
390390
tar -xvzf kubeseal-${KUBESEAL_VERSION:?}-linux-amd64.tar.gz kubeseal
391391
sudo install -m 755 kubeseal /usr/local/bin/kubeseal
392392
```
@@ -403,7 +403,7 @@ if [ -z "$KUBESEAL_VERSION" ]; then
403403
exit 1
404404
fi
405405

406-
wget "https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION}/kubeseal-${KUBESEAL_VERSION}-linux-amd64.tar.gz"
406+
curl -OL "https://github.com/bitnami-labs/sealed-secrets/releases/download/v${KUBESEAL_VERSION}/kubeseal-${KUBESEAL_VERSION}-linux-amd64.tar.gz"
407407
tar -xvzf kubeseal-${KUBESEAL_VERSION}-linux-amd64.tar.gz kubeseal
408408
sudo install -m 755 kubeseal /usr/local/bin/kubeseal
409409
```

0 commit comments

Comments
 (0)