Skip to content

Commit da958bc

Browse files
committed
drenv: Install helm from github releases
Resolves #1623 Signed-off-by: raaizik <[email protected]>
1 parent 8380d72 commit da958bc

File tree

2 files changed

+59
-5
lines changed

2 files changed

+59
-5
lines changed

docs/user-quick-start.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,39 @@ enough resources:
236236
version 0.8.0.
237237
For more info see [kubectl-gather](https://github.com/nirs/kubectl-gather)
238238

239-
1. Install `helm` tool - on Fedora you can use:
239+
1. Install Helm (version ≥ 3.13 recommended).
240240

241+
You can install it in one of two ways:
242+
243+
**Option 1: Using DNF (recommended for recent Fedora/RHEL)**
244+
245+
```bash
246+
sudo dnf install -y helm
241247
```
242-
sudo dnf install helm
248+
249+
**Option 2: Using official Helm GitHub releases (for older Fedora or
250+
outdated package versions)**
251+
252+
Check the latest release: [Helm's GitHub release page](https://github.com/helm/helm/releases)
253+
254+
```bash
255+
HELM_VERSION=$(curl -s https://api.github.com/repos/helm/helm/releases/latest \
256+
| grep tag_name | cut -d '"' -f 4)
257+
curl -L https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -o helm.tgz
258+
tar -xzf helm.tgz
259+
sudo mv linux-amd64/helm /usr/local/bin/helm
260+
rm -rf linux-amd64 helm.tgz
261+
```
262+
263+
Verify:
264+
265+
```bash
266+
helm version
243267
```
244268

245-
Tested with version v3.18.1.
269+
> ⚠️ If you’re on Fedora 37 or earlier, the `dnf` package may install Helm
270+
> 3.11 or older, which is not supported by Ramen. Use the GitHub release
271+
> method instead.
246272

247273
1. Install `podman` - on Fedora you can use:
248274

test/README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,40 @@ environment.
8686
For more info see
8787
[Velero Basic Install](https://velero.io/docs/v1.16/basic-install/)
8888

89-
1. Install `helm` tool - on Fedora you can use:
89+
1. Install Helm (version ≥ 3.13 recommended).
9090

91+
You can install it in one of two ways:
92+
93+
**Option 1: Using DNF (recommended for recent Fedora/RHEL)**
94+
95+
```bash
96+
sudo dnf install -y helm
9197
```
92-
sudo dnf install helm
98+
99+
**Option 2: Using official Helm GitHub releases (for older Fedora or
100+
outdated package versions)**
101+
102+
Check the latest release: [Helm's GitHub release page](https://github.com/helm/helm/releases)
103+
104+
```bash
105+
HELM_VERSION=$(curl -s https://api.github.com/repos/helm/helm/releases/latest \
106+
| grep tag_name | cut -d '"' -f 4)
107+
curl -L https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -o helm.tgz
108+
tar -xzf helm.tgz
109+
sudo mv linux-amd64/helm /usr/local/bin/helm
110+
rm -rf linux-amd64 helm.tgz
111+
```
112+
113+
Verify:
114+
115+
```bash
116+
helm version
93117
```
94118

119+
> ⚠️ If you’re on Fedora 37 or earlier, the `dnf` package may install Helm
120+
> 3.11 or older, which is not supported by Ramen. Use the GitHub release
121+
> method instead.
122+
95123
See [Installing Helm](https://helm.sh/docs/intro/install/) for other options.
96124
Tested with version v3.18.1.
97125

0 commit comments

Comments
 (0)