Skip to content

Conversation

@ashupednekar
Copy link

The one here was causing this error

❯ sha256sum --check cilium-${GOOS}-${GOARCH}.tar.gz.sha256sum
sha256sum: cilium--.tar.gz.sha256sum: no properly formatted SHA256 checksum lines found

❯ sudo tar -C /usr/local/bin -xzvf cilium-${GOOS}-${GOARCH}.tar.gz
rm cilium-${GOOS}-${GOARCH}.tar.gz{,.sha256sum}
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting no

replaced with the one from the docs, which works

The one here was causing this error
```bash
❯ sha256sum --check cilium-${GOOS}-${GOARCH}.tar.gz.sha256sum
sha256sum: cilium--.tar.gz.sha256sum: no properly formatted SHA256 checksum lines found

❯ sudo tar -C /usr/local/bin -xzvf cilium-${GOOS}-${GOARCH}.tar.gz
rm cilium-${GOOS}-${GOARCH}.tar.gz{,.sha256sum}
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting no
```

replaced with the one from the docs, which works

Signed-off-by: Ashu Pednekar <[email protected]>
Copy link
Member

@tklauser tklauser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines +25 to +30
CLI_ARCH=amd64
if [ "$(uname -m)" = "aarch64" ]; then CLI_ARCH=arm64; fi
curl -L --fail --remote-name-all https://github.com/cilium/cilium-cli/releases/download/${CILIUM_CLI_VERSION}/cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}
sha256sum --check cilium-linux-${CLI_ARCH}.tar.gz.sha256sum
sudo tar xzvfC cilium-linux-${CLI_ARCH}.tar.gz /usr/local/bin
rm cilium-linux-${CLI_ARCH}.tar.gz{,.sha256sum}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now hard-codes linux. Maybe it's better to replace this section entirely with a link to the docs which have installation instructions for all supported operating systems?

Copy link
Author

@ashupednekar ashupednekar Nov 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs page also has additional instructions pertaining target k8s distro
Copied the Mac OS commands as well, other anyway points to GitHub releases

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would still be good to link to the installation docs, so we habe a single source of truth.

Comment on lines 33 to 34
See https://github.com/cilium/cilium-cli/releases for supported `GOOS`/`GOARCH`
binary releases.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now no longer accurate as the script above no longer uses GOOS/GOARCH.

@maintainer-s-little-helper
Copy link

Commit 6d42bf2 does not match "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants