change krew uri to krew_download_url (#8190)

This commit is contained in:
Samuel Liu 2021-11-15 04:08:47 +08:00 committed by GitHub
parent a08d82d94e
commit 027cbefb87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ spec:
https://krew.sigs.k8s.io/docs/user-guide/quickstart/. https://krew.sigs.k8s.io/docs/user-guide/quickstart/.
platforms: platforms:
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew bin: krew
files: files:
@ -38,7 +38,7 @@ spec:
matchLabels: matchLabels:
os: darwin os: darwin
arch: amd64 arch: amd64
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew bin: krew
files: files:
@ -50,7 +50,7 @@ spec:
matchLabels: matchLabels:
os: darwin os: darwin
arch: arm64 arch: arm64
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew bin: krew
files: files:
@ -62,7 +62,7 @@ spec:
matchLabels: matchLabels:
os: linux os: linux
arch: amd64 arch: amd64
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew bin: krew
files: files:
@ -74,7 +74,7 @@ spec:
matchLabels: matchLabels:
os: linux os: linux
arch: arm arch: arm
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew bin: krew
files: files:
@ -86,7 +86,7 @@ spec:
matchLabels: matchLabels:
os: linux os: linux
arch: arm64 arch: arm64
- uri: https://github.com/kubernetes-sigs/krew/releases/download/{{ krew_version }}/krew-{{ host_os }}_{{ image_arch }}.tar.gz - uri: {{ krew_download_url }}
sha256: {{ krew_archive_checksum }} sha256: {{ krew_archive_checksum }}
bin: krew.exe bin: krew.exe
files: files: