Merge "Build new autoscaler containers"

This commit is contained in:
Zuul 2020-04-16 09:00:56 +00:00 committed by Gerrit Code Review
commit 1aa3959883
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