Skip to content

Commit

Permalink
feat: update kubelet to 1.21.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored and talos-bot committed Apr 9, 2021
1 parent f4ebeb0 commit 3cca951
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ ARG KUBELET_SHA512_AMD64
ARG KUBELET_URL=https://storage.googleapis.com/kubernetes-release/release/${KUBELET_VER}/bin/linux/${TARGETARCH}/kubelet

RUN wget -q -O /kubelet ${KUBELET_URL} \
&& echo "${KUBELET_SHA512_AMD64} /kubelet" | sha512sum -c \
&& sha512sum /kubelet \
&& echo "${KUBELET_SHA512_AMD64} /kubelet" | sha512sum -cw \
&& chmod +x /kubelet

FROM alpine:latest as builder-arm64
Expand All @@ -20,7 +21,8 @@ ARG KUBELET_SHA512_ARM64
ARG KUBELET_URL=https://storage.googleapis.com/kubernetes-release/release/${KUBELET_VER}/bin/linux/${TARGETARCH}/kubelet

RUN wget -q -O /kubelet ${KUBELET_URL} \
&& echo "${KUBELET_SHA512_ARM64} /kubelet" | sha512sum -c \
&& sha512sum /kubelet \
&& echo "${KUBELET_SHA512_ARM64} /kubelet" | sha512sum -cw \
&& chmod +x /kubelet

ARG TARGETARCH
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ TAG ?= $(shell git describe --tag --always --dirty)
BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)
REGISTRY_AND_USERNAME := $(REGISTRY)/$(USERNAME)
NAME := kubelet
KUBELET_VER := v1.21.0-rc.0
KUBELET_SHA512_AMD64 := d26694994a3e3f6d187ace1b5375d08e65bb1cd2753fdfdb43917e63ac2a41cac43f745631f2882bc8dde4c6770b5c899490a50096c7f82405d284a0df39ecbc
KUBELET_SHA512_ARM64 := a30b40f135e8b005f2c91bd1ee989be3c21b1ebe8423104a24ffe4c47ae7e35540075fa5c3f4978bc7db5fa5f44c5651c3ff8630fb6dba3acb5a3ea94418d384
KUBELET_VER := v1.21.0
KUBELET_SHA512_AMD64 := 530689c0cc32ef1830f7ae26ac10995f815043d48a905141e23a34a5e61522c4ee2ff46953648c47c5592d7c2ffa40ce90469a697f36f68475b8da5abd73f9f5
KUBELET_SHA512_ARM64 := fc2a7e3ae6d44c0e384067f8e0bcd47b0db120d03d06cc8589c601f618792959ea894cf3325df8ab4902af23ded7fd875cf4fe718be0e67ad990a7559e4a8b1a

BUILD := docker buildx build
PLATFORM ?= linux/amd64,linux/arm64
Expand Down

0 comments on commit 3cca951

Please sign in to comment.