stackstorm-k8s icon indicating copy to clipboard operation
stackstorm-k8s copied to clipboard

Bitnami has stopped serving old chart versions

Open 0xhaven opened this issue 2 years ago • 3 comments

For context see: https://github.com/bitnami/charts/pull/10530 https://github.com/bitnami/charts/issues/10539

The dependency versions pinned in https://github.com/StackStorm/stackstorm-k8s/blob/master/Chart.yaml#L30 no longer exist and will need to be updated to more recent charts.

Currently, helm is throwing the error:

helm dependency build` failed exit status 1: Error: can't get a valid version for repositories rabbitmq, mongodb, external-dns, redis. Try changing the version constraint in Chart.yaml

It looks like there was some work (#305) to update the redis chart pinned version, but that was aborted due to some initial issues. We’ll need to restart that work to update dependencies for redis, and also rabbitmq, mongodb, external-dns in order to repair this helm chart.

0xhaven avatar Jun 03 '22 16:06 0xhaven

For now, I have altered my forked chart to use a prior Bitnami index as suggested by https://github.com/bitnami/charts/issues/10539 See forked Chart.yaml and diff commit here https://github.com/0xhaven/stackstorm-k8s/commit/4253402e22aaa5bdcf9f072b9492b85c62c016f9

This might be an acceptable short-term workaround for others running into this issue, but eventually the dependency versions should be updated, both to work with the main Bitnami repo and to include updates and security fixes to the outdated dependencies.

0xhaven avatar Jun 03 '22 21:06 0xhaven

Could you please submit that commit as a PR? That will unblock other PRs. Then in separate follow-up PRs, we can upgrade each subchart and switch back to the primary index. Thanks!

cognifloyd avatar Jun 03 '22 22:06 cognifloyd

@cognifloyd Sure. It is just a temporary hacky workaround, but it can unblock things for now

#312

0xhaven avatar Jun 04 '22 16:06 0xhaven