Skip to content

Commit

Permalink
PPD-1435: Upgrade vCluster to v0.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kad committed May 2, 2024
1 parent 393fd39 commit d7dc306
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ ARG BUILDER_GOLANG_VERSION
FROM --platform=linux/amd64 gcr.io/spectro-images-public/golang:${BUILDER_GOLANG_VERSION}-alpine as builder

ARG HELM=./bin/helm-linux-amd64
ARG HELM_CHART=./bin/vcluster-0.16.4.tgz
ARG HELM_CHART=./bin/vcluster-0.19.5.tgz
ARG TARGETOS
ARG TARGETARCH

WORKDIR /workspace

# Copy binaries
COPY ${HELM} helm
COPY ${HELM_CHART} vcluster-0.16.4.tgz
COPY ${HELM_CHART} vcluster-0.19.5.tgz

# Install Delve for debugging
RUN if [ "${TARGETARCH}" = "amd64" ]; then go install github.com/go-delve/delve/cmd/dlv@latest; fi
Expand Down Expand Up @@ -39,7 +39,7 @@ FROM --platform=linux/amd64 gcr.io/distroless/static:nonroot
WORKDIR /
COPY --from=builder /workspace/manager .
COPY --from=builder /workspace/helm .
COPY --from=builder /workspace/vcluster-0.16.4.tgz .
COPY --from=builder /workspace/vcluster-0.19.5.tgz .
USER 65532:65532

ENTRYPOINT ["/manager"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BUILD_ARGS = --build-arg CRYPTO_LIB=${FIPS_ENABLE} --build-arg BUILDER_GOLANG_VE
ENVTEST_K8S_VERSION = 1.23
# HELM_VERSION = 3.12.0
HELM_VERSION = 3.11.2-20230627
VCLUSTER_CHART_VERSION = 0.16.4
VCLUSTER_CHART_VERSION = 0.19.5

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "os"

var (
// DefaultVClusterVersion is the default version of the virtual cluster to use
DefaultVClusterVersion = "0.16.4"
DefaultVClusterVersion = "0.19.5"

// DefaultVClusterChartName is the default chart name of the virtual cluster to use
DefaultVClusterChartName = "vcluster"
Expand Down

0 comments on commit d7dc306

Please sign in to comment.