Downgrade postgresql-ha to 11.9.4 #541
Reference in New Issue
Block a user
No description provided.
Delete Branch "refs/pull/541/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As 11.9.8 included (by mistake) a major version bump from 15 -> 16
https://github.com/bitnami/charts/issues/19596
The failing build is due to
Chart.lock
not properly recreated. You'd need to either only changeChart.yaml
and then locally runhelm dependency update
, or change bothChart.yaml
andChart.lock
and then runhelm dependency update
. 🙂Anyway, Helm Chart 11.9.7 was never released. There was a build error for publishing1. We need to downgrade to 11.9.4 as highest available version below 11.9.82.
https://github.com/bitnami/charts/actions/runs/6301595212/job/17106973762 ↩︎
https://hub.docker.com/r/bitnamicharts/postgresql-ha/tags?page=1&name=11.9. ↩︎
Ai. Yeah I didn't check and just assumed there was a 11.9.7.
Arguably they should have deleted 11.9.8 instead of keeping it.
The issue in the first place and then not deleting 11.9.8 is actually making me a bit worried WRT to the realibility of the bitnami charts. But well, let's move on and hope it doesn't occur again.
We still could add tests checking the major version of our dependencies in the templating result. Since we have automerge enabled for minor updates, these tests would then pass. For major updates they would fail but there should be a review and test anyway. What do you think?
Interesting thought. You mean by comparing
appVersion
of the dep against a value defined in our templates?This could help, yes - but then again another point to not forget when doing a major version bump. But the tests will remind us anyhow.
I wonder how we want to deal with major bumps of postgres and redis in the first place. We certainly want to upgrade but not necessarily right after they got released. Upgrading PG also takes manual work for all users which is not necessarily required when running a "reasonably" new PG version. We shouldn't fall too much behind but we also don't need to upgrade to every x.0 version just right after release. But this might be a separate discussion...
Yes. We could check label
app.kubernetes.io/version
that contains the appVersion of the subchart. Unfortunately, ´postgresql-ha` in version 11.9.4 doesn't have that yet. It got added in 11.9.7 - which was not released. 😆To check this, we would have to accept the major db upgrade. Which is not the idea of this PR. I've added this idea to #409.
I agree with all of that. And yes, that's another discussion.
I've already tested this version along with my
pgpool
changes. LGTM.Merging now. The appVersion related discussion can continue elsewhere.