Update kubectl to v1.20.4

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2021-02-23 11:54:31 +02:00
parent 2f28126364
commit a1ab63e8f8
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Setup Kubectl
uses: fluxcd/pkg/actions/kubectl@main
with:
version: 1.20.2
version: 1.20.4
- name: Run tests
run: make test
env:

View File

@ -6,7 +6,7 @@ WORKDIR /workspace
RUN apk add --no-cache ca-certificates curl
RUN kubectl_ver=1.20.2 && \
RUN kubectl_ver=1.20.4 && \
arch=${TARGETPLATFORM:-linux/amd64} && \
if [ "$TARGETPLATFORM" == "linux/arm/v7" ]; then arch="linux/arm"; fi && \
curl -sL https://storage.googleapis.com/kubernetes-release/release/v${kubectl_ver}/bin/${arch}/kubectl \