Skip to content

PostgreSQL Bitnami's Helm chart not available anymore

8.2.1 of Bitnami's PostgreSQL Helm chart is used here: https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/blob/v2.28.1/src/bin/auto-deploy#L192

However, it looks like this version is no more available at Bitnami's repo: Error: failed to download "bitnami/postgresql" at version "8.2.1"

Workaround

But for anyone affected by this: If you do not use postgresql in your application, then you can fix the problem by setting the CI/CD variable POSTGRES_ENABLED to false. This will cause Auto Deploy to skip the PostgreSQL installation step entirely.

We're also pinning the chart index version in !277 (merged) as an emergency fix. The image with the fix is v2.28.2. With the default Auto DevOps template, you can now set the CI/CD variables

  • DAST_AUTO_DEPLOY_IMAGE_VERSION to v2.28.2
  • AUTO_DEPLOY_IMAGE_VERSION to v2.28.2

and everything should work.

Current status

The MR to update the default version of auto-deploy-image in Deploy.gitlab-ci.yml has been merged and deployed to GitLab.com production. This switches Auto Deploy to use the pinned bitnami repository https://raw.githubusercontent.com/bitnami/charts/eb5f9a9513d987b519f0ecd732e7031241c50328/bitnami by default.

Reference

Edited by Hordur Freyr Yngvason