Skip to content

Conversation

@krithika369
Copy link
Collaborator

@krithika369 krithika369 commented Jun 10, 2022

The Helm release action fails with the following error message (see):

Error: can't get a valid version for repositories postgresql. Try changing the version constraint in Chart.yaml

The chart version (8.9.8) can be listed using:

helm search repo bitnami/postgresql --versions

and downloaded using:

helm pull bitnami/postgresql --version 8.9.8 --untar

However, helm dependency update ./infra/charts/turing fails with the above message and it can be confirmed that the chart is no longer available at https://artifacthub.io/packages/helm/bitnami/postgresql/8.9.8.

As suggested in the error remediation, this PR updates the dependency chart version to another which is the latest one supporting Postgres 11.X:

Chart version 8.9.8 (Postgres 11.8.0) -> Chart version 10.16.2 (Postgres 11.14.0)  

Accordingly, some of the default values for Postgres and the corresponding docs have also been updated.

@krithika369 krithika369 marked this pull request as draft June 10, 2022 00:37
@krithika369 krithika369 marked this pull request as ready for review June 10, 2022 01:43
@krithika369
Copy link
Collaborator Author

Verified publishing the chart @ https://github.com/krithika369/charts

@krithika369 krithika369 requested a review from a team June 10, 2022 01:45
@krithika369 krithika369 changed the title Update posgtres dependency in Helm charts Update postgres dependency in Helm charts Jun 10, 2022
Copy link
Contributor

@leonlnj leonlnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@krithika369 krithika369 merged commit d987ca8 into caraml-dev:main Jun 10, 2022
@krithika369 krithika369 deleted the fix_chart_release branch June 10, 2022 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants