Skip to content

Commit

Permalink
PSS-23488: Update BUILDER_GO version to 1.21.6 for TLS v1.3 (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayesh-srivastava authored Feb 14, 2024
1 parent 1bad847 commit 1789072
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ ENV GOEXPERIMENT=${CRYPTO_LIB:+boringcrypto}
FROM toolchain as builder
WORKDIR /workspace

ARG CRYPTO_LIB
ENV GOEXPERIMENT=${CRYPTO_LIB:+boringcrypto}

RUN apk update
RUN apk add git gcc g++ curl binutils-gold

Expand All @@ -54,7 +57,7 @@ RUN --mount=type=cache,target=/root/.local/share/golang \
COPY ./ ./

# Build
ARG package=.
ARG package=sigs.k8s.io/cluster-api
ARG ARCH
ARG ldflags

Expand Down
2 changes: 1 addition & 1 deletion util/flags/tls_boring.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ func InsecureSkipVerify(insecureSkipVerify bool) bool {
}

func GetTlsMaxVersion() uint16 {
return tls.VersionTLS12
return tls.VersionTLS13
}

0 comments on commit 1789072

Please sign in to comment.