Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Calico CRD Hash for v3.20.3 #8233

Closed
feber opened this issue Nov 26, 2021 · 4 comments
Closed

Update Calico CRD Hash for v3.20.3 #8233

feber opened this issue Nov 26, 2021 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@feber
Copy link
Contributor

feber commented Nov 26, 2021

Hi, I am facing issue similar with #7389. And it looks like the calico_crds_archive_checksums need to be updated, as performed before on #7386 and #8157.

How could I generate the hash?

Thank you.

What would you like to be added:
Hash for v3.20.3.

Why is this needed:
Update hashes for Calico crd archive.

@feber feber added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 26, 2021
@floryut
Copy link
Member

floryut commented Nov 26, 2021

Hash are only sha256sum for files 👍

@feber
Copy link
Contributor Author

feber commented Nov 26, 2021

Thanks for the lead!
For a practice, I have tried to cross check with version v3.20.2.

I downloaded release-v3.20.2.tgz, then calculated the hash:

$ sha256sum release-v3.20.2.tgz
920b20da6070aa3915c2aca75cb3737ca38c8257299808dccfb176264c7447be  release-v3.20.2.tgz

$ sha256sum release-v3.20.2/bin/calicoctl
532b6ca6eb4b9e8f9656ba2c01e3cee24a11b812e360ec6eb540fab8ff908b65  release-v3.20.2/bin/calicoctl

# and tried for other files...

None of them matched with b75b9965197073d2ae510275f61779ad38ff961ffe95a2fc3e0f452f94949c40.
Is there perhaps some steps that I miss?

Thank you.

@floryut
Copy link
Member

floryut commented Nov 26, 2021

$ curl https://github.com/projectcalico/calicoctl/releases/download/v3.20.2/calicoctl-linux-amd64 -Lk | sha256sum
532b6ca6eb4b9e8f9656ba2c01e3cee24a11b812e360ec6eb540fab8ff908b65  -

v3.20.2: 532b6ca6eb4b9e8f9656ba2c01e3cee24a11b812e360ec6eb540fab8ff908b65

$ curl https://github.com/projectcalico/calico/archive/v3.20.2.tar.gz -Lk | sha256sum
b75b9965197073d2ae510275f61779ad38ff961ffe95a2fc3e0f452f94949c40  -

v3.20.2: b75b9965197073d2ae510275f61779ad38ff961ffe95a2fc3e0f452f94949c40

I won't do all files but looks fine to me 😄

@feber
Copy link
Contributor Author

feber commented Nov 26, 2021

Oh so it is hash to the code archive, not distributable binaries 😂
Thank you very much.

@feber feber closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants