Skip to content

Commit 764faf2

Browse files
authored
fix: adds previous versions helm charts in this container (#949)
**What problem does this PR solve?**: Adds old versions of helm charts as downstream dependencies need it **Which issue(s) this PR fixes**: Fixes # **How Has This Been Tested?**: <!-- Please describe the tests that you ran to verify your changes. Provide output from the tests and any manual steps needed to replicate the tests. --> **Special notes for your reviewer**: <!-- Use this to provide any additional information to the reviewers. This may include: - Best way to review the PR. - Where the author wants the most review attention on. - etc. -->
1 parent b5d23a0 commit 764faf2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hack/addons/mindthegap-helm-registry/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ FROM --platform=${BUILDPLATFORM} ghcr.io/mesosphere/mindthegap:${MINDTHEGAP_VERS
33
# this gets called by goreleaser so the copy source has to be the path relative to the repo root.
44
RUN --mount=source=./hack/addons/mindthegap-helm-registry/repos.yaml,target=/repos.yaml \
55
["/ko-app/mindthegap", "create", "bundle", "--helm-charts-file=/repos.yaml", "--output-file=/tmp/helm-charts.tar"]
6-
76
FROM --platform=${TARGETPLATFORM} alpine:3.20.3
87
ARG VERSION
98
COPY --from=bundle_builder /tmp/helm-charts.tar /charts/helm-charts-${VERSION}.tar
109
COPY --from=bundle_builder /ko-app/mindthegap /usr/bin/mindthegap
10+
# TODO remove me as soon as its not needed to hold multiple versions of helm charts
11+
COPY --from=ghcr.io/nutanix-cloud-native/caren-helm-reg:v0.14.6 /tmp/helm-charts.tar /charts/helm-charts-v0.14.6.tar
12+
COPY --from=ghcr.io/nutanix-cloud-native/caren-helm-reg:v0.14.9 /tmp/helm-charts.tar /charts/helm-charts-v0.14.9.tar
1113
VOLUME /certs
1214
ENTRYPOINT /usr/bin/mindthegap

0 commit comments

Comments
 (0)