Build new autoscaler containers

Versions: 1.16.5, 1.17.2 and 1.18.1

Story: 2007465
Task: 39152

Change-Id: Ie70e5ba38799c3da17ec9a34f6990f8c2d853732
This commit is contained in:
Bharat Kunwar 2020-03-25 16:08:25 +00:00 committed by Bharat Kunwar
parent ce70da25ad
commit 39ccad9cc4
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.12.10 as builder
FROM golang:1.13.10 as builder
ARG AUTOSCALER_VERSION
@ -7,7 +7,7 @@ ENV GOPATH=/go
WORKDIR $GOPATH/src/k8s.io/
RUN git clone -b ${AUTOSCALER_VERSION} --single-branch http://github.com/kubernetes/autoscaler.git autoscaler
WORKDIR autoscaler/cluster-autoscaler
RUN CGO_ENABLED=0 GOOS=linux go build -o cluster-autoscaler --ldflags=-s --tags magnum
RUN CGO_ENABLED=0 GO111MODULE=off GOOS=linux go build -o cluster-autoscaler --ldflags=-s --tags magnum
FROM gcr.io/distroless/static:latest

View File

@ -21,5 +21,6 @@ magnum_images:
helm_version: v2.12.3
cluster_autoscaler_versions:
- version: 1.15.2
- version: 1.16.1
- version: 1.16.5
- version: 1.17.2
- version: 1.18.1