Skip to content

Commit 0b9c107

Browse files
committed
Fix older versions in dashboard
Workaround for vmware-tanzu/kubeapps#7740 Signed-off-by: Andrei Kvapil <[email protected]>
1 parent a956713 commit 0b9c107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/apps/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repo:
77
awk '$$3 != "HEAD" {print "mkdir -p $(TMP)/" $$1 "-" $$2}' versions_map | sh -ex
88
awk '$$3 != "HEAD" {print "git archive " $$3 " " $$1 " | tar -xf- --strip-components=1 -C $(TMP)/" $$1 "-" $$2 }' versions_map | sh -ex
99
helm package -d "$(OUT)" $$(find . $(TMP) -mindepth 2 -maxdepth 2 -name Chart.yaml | awk 'sub("/Chart.yaml", "")' | sort -V)
10-
cd "$(OUT)" && helm repo index .
10+
cd "$(OUT)" && helm repo index . --url http://cozystack.cozy-system.svc/repos/apps
1111
rm -rf "$(TMP)"
1212

1313
fix-chartnames:

packages/extra/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repo:
77
awk '$$3 != "HEAD" {print "mkdir -p $(TMP)/" $$1 "-" $$2}' versions_map | sh -ex
88
awk '$$3 != "HEAD" {print "git archive " $$3 " " $$1 " | tar -xf- --strip-components=1 -C $(TMP)/" $$1 "-" $$2 }' versions_map | sh -ex
99
helm package -d "$(OUT)" $$(find . $(TMP) -mindepth 2 -maxdepth 2 -name Chart.yaml | awk 'sub("/Chart.yaml", "")' | sort -V)
10-
cd "$(OUT)" && helm repo index .
10+
cd "$(OUT)" && helm repo index . --url http://cozystack.cozy-system.svc/repos/extra
1111
rm -rf "$(TMP)"
1212

1313
fix-chartnames:

0 commit comments

Comments
 (0)