Skip to content

Commit 265ac09

Browse files
committed
fix capibmadm download links
Signed-off-by: Prajyot-Parab <[email protected]>
1 parent 910b5eb commit 265ac09

File tree

1 file changed

+44
-5
lines changed

1 file changed

+44
-5
lines changed

docs/book/src/topics/capibmadm/index.md

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,53 @@ Kubernetes Cluster API Provider IBM Cloud Management Utility
44

55
## Install capibmadm
66

7-
{{#tabs name:"install-ccapibmadm" tabs:"Linux/MacOS,Windows"}}
8-
{{#tab Linux/MacOS}}
7+
{{#tabs name:"install-capibmadm" tabs:"Linux,macOS,Windows"}}
8+
{{#tab Linux}}
99

10-
#### Install capibmadm binary with curl on Linux / MacOS
11-
Run the following command to download the capibmadm binary:
10+
#### Install capibmadm binary with curl on Linux
11+
If you are unsure you can determine your computers architecture by running `uname -a`
1212

13+
Download for AMD64:
1314
```bash
14-
curl -L "https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/releases/download/v0.11.0/capibmadm-$(echo "$(uname -s)" | tr A-Z a-z)-$(uname -m)" -o capibmadm
15+
curl -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-linux-amd64" version:"0.12.x"}} -o capibmadm
16+
```
17+
18+
Download for ARM64:
19+
```bash
20+
curl -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-linux-arm64" version:"0.12.x"}} -o capibmadm
21+
```
22+
23+
Download for PPC64LE:
24+
```bash
25+
curl -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-linux-ppc64le" version:"0.12.x"}} -o capibmadm
26+
```
27+
Add the execute bit to the binary.
28+
```bash
29+
chmod +x ./capibmadm
30+
```
31+
Move the binary to $PATH.
32+
```bash
33+
sudo mv ./capibmadm /usr/local/bin/capibmadm
34+
```
35+
Test to ensure the version you installed is up-to-date:
36+
```bash
37+
capibmadm version -o short
38+
```
39+
40+
{{#/tab }}
41+
{{#tab macOS}}
42+
43+
#### Install capibmadm binary with curl on MacOS
44+
If you are unsure you can determine your computers architecture by running `uname -a`
45+
46+
Download for AMD64:
47+
```bash
48+
curl -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-darwin-amd64" version:"0.12.x"}} -o capibmadm
49+
```
50+
51+
Download for M1 CPU ("Apple Silicon") / ARM64:
52+
```bash
53+
curl -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-darwin-arm64" version:"0.12.x"}} -o capibmadm
1554
```
1655
Add the execute bit to the binary.
1756
```bash

0 commit comments

Comments
 (0)