ci(validate-kubernetes): pin kube-score to v1.20.0 (current latest)

Previous v1.20.1 pin returned 404 from the releases endpoint; latest upstream tag is v1.20.0 per https://github.com/zegl/kube-score/releases/latest. Locally verified the tarball extracts cleanly to a kube-score binary + LICENSE.

Also adds -f to curl so HTTP errors fail the step immediately instead of saving an HTML 404 body to disk and failing later in tar.

Co-Authored-By: Nakamoto, S <[email protected]>
This commit is contained in:
Devin AI
2026-05-03 19:31:23 +00:00
co-authored by Nakamoto, S <[email protected]>
parent 494299582c
commit e1e6759a45
+3 -2
View File
@@ -74,8 +74,9 @@ jobs:
- name: Install kube-score
run: |
curl -sSL -o /tmp/kube-score.tar.gz \
https://github.com/zegl/kube-score/releases/download/v1.20.1/kube-score_1.20.1_linux_amd64.tar.gz
# Latest upstream as of this commit; bump as needed.
curl -fsSL -o /tmp/kube-score.tar.gz \
https://github.com/zegl/kube-score/releases/download/v1.20.0/kube-score_1.20.0_linux_amd64.tar.gz
tar -xzf /tmp/kube-score.tar.gz -C /tmp
sudo mv /tmp/kube-score /usr/local/bin/kube-score
kube-score version