Skip to content

Commit 8cbb426

Browse files
Prajyot-ParabAmulyam24
authored andcommitted
Fix capibmadm download links (#2496)
Co-authored-by: Amulyam24 <amulmek1@in.ibm.com>
1 parent f855832 commit 8cbb426

File tree

2 files changed

+48
-8
lines changed

2 files changed

+48
-8
lines changed

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

Lines changed: 46 additions & 7 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
@@ -34,13 +73,13 @@ Go to the working directory where you want capibmadm downloaded.
3473

3574
Download the latest release on AMD64; on Windows, type:
3675
```powershell
37-
curl.exe -L https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/releases/download/v0.11.0/capibmadm-windows-amd64.exe -o capibmadm.exe
76+
curl.exe -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-windows-amd64.exe" version:"0.12.x"}} -o capibmadm.exe
3877
```
3978
Append or prepend the path of that directory to the `PATH` environment variable.
4079

4180
Download the latest release on ARM64; on Windows, type:
4281
```powershell
43-
curl.exe -L https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud/releases/download/v0.11.0/capibmadm-windows-arm64.exe -o capibmadm.exe
82+
curl.exe -L {{#releaselink repo:"https://github.com/kubernetes-sigs/cluster-api-provider-ibmcloud" gomodule:"sigs.k8s.io/cluster-api-provider-ibmcloud" asset:"capibmadm-windows-amd64.exe" version:"0.12.x"}} -o capibmadm.exe
4483
```
4584
Append or prepend the path of that directory to the `PATH` environment variable.
4685

docs/book/theme/css/custom.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ aside.note.warning > h1::before {
5050
}
5151

5252
.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
53-
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2){
53+
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
54+
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3){
5455
display: block;
5556
}
5657

0 commit comments

Comments
 (0)