Skip to content

Commit 0944d65

Browse files
committed
helm: explicitly configure helm chart base url
Currently helm index configures URLs to charts with relative path (see https://ceph.github.io/csi-charts/index.yaml). Artifactory contains support for virtual repositories. Virtual repositories are able to cache remote repositories and provide offline access to those repositories. In order for this to work correctly, charts must specify absolute base URL to artifacts. This commit adds this base URL using argument for helm index command. URL with previous approach: ```yaml urls: - cephfs/ceph-csi-cephfs-3.13.0.tgz ``` URL with current approach (my personal "lirt" repo was used to test this, the MR specifies correct "ceph" path) ```yaml urls: - https://lirt.github.io/csi-charts/cephfs/ceph-csi-cephfs-3.13.0.tgz ``` Signed-off-by: Ondrej Vasko <[email protected]>
1 parent c45bc7d commit 0944d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ push_helm_charts() {
8484
popd >/dev/null
8585

8686
pushd "${CHARTDIR}/csi-charts/docs" >/dev/null
87-
helm repo index .
87+
helm repo index . --url "https://ceph.github.io/csi-charts/"
8888
git config user.name "${GITHUB_USER}"
8989
git config user.email "${GITHUB_EMAIL}"
9090
git add --all :/ && git commit -m "Update for helm charts ${PACKAGE}-${VERSION}"

0 commit comments

Comments
 (0)