Skip to content

Deployment fails with postgresql.enabled=true due to Bitnami image deprecation #56322

Closed

Description

@jjangsungwon

Official Helm Chart version

1.10.0

Apache Airflow version

2.9.3

Kubernetes Version

1.26.4

What happened

I’d like to report an issue we encountered when deploying Airflow 2.9.3 with the Helm chart.
(This is my first issue report, so please let me know if I need to provide additional information! 🤣)

Environment

  • Airflow version: 2.9.3
  • Helm chart version: 1.1.0

Problem

When using the default setting postgresql.enabled: true, the chart pulls the Bitnami PostgreSQL image. Recently Bitnami (VMware) restricted access and moved many images to legacy, which leads to:

ErrImagePull / ImagePullBackOff during deployment or rollout if the legacy registry is not explicitly configured

Using images without ongoing security updates (legacy only)

In our case, the deployment failed until we manually reconfigured the chart to point at the legacy Bitnami registry. This workaround resolves the immediate deployment issue but is not sustainable, since legacy images will no longer receive security patches and may eventually become unavailable.

How to reproduce

  1. Set the value postgresql.enabled: true in values.yaml.
  2. Deploy the Helm chart.
  3. Observe that the deployment fails with ErrImagePull / ImagePullBackOff due to the Bitnami PostgreSQL image being pulled from the legacy registry.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    area:helm-chart
    needs-triage
    on Oct 2, 2025
  2. boring-cyborg commented on Oct 2, 2025

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

  3. eladkal commented on Oct 2, 2025

    @eladkal
    Contributor

    I think this has already been fixed in #55820

  4. void-rooster commented on Oct 9, 2025

    @void-rooster

    it hasn't been.

    chart version: airflow-1.18.0
    airflow version: 3.0.2
    k8s client version: 1.29.3

    I had to override the defaults according to https://github.com/apache/airflow/pull/55820/files/fd89d77716a579ead5bb6ecec387600120f35154#r2411041337

  5. DieterDP-ng commented on Oct 20, 2025

    @DieterDP-ng

    FYI, this issue is being handled in the long-term by removing the builtin bitnami postgresql DB, and replacing it with sqllite. See #55823

  6. DieterDP-ng commented on Oct 20, 2025

    @DieterDP-ng

    I agree the issue hasn't been solved yet, but there is some confusing info in this ticket.

    • The original question refers to chart version 1.10, but the fix (Temporary fix to Bitnami psql chart licensing issues #55820) for this issue is available in the currently not-yet released chart version 1.19.
    • However, this fix is probably broken, as pointed out in these comments (1, 2) that came after the PR of the fix was merged. Namely: the values.yaml now refers to a older postgresql version (13) than was the case with Bitnami (16.1).
  7. potiuk commented on Oct 20, 2025

    @potiuk
    Member

    I agree the hasn't been solved yet, but there is some confusing info in this ticket.

    • The original question refers to chart version 1.10, but the fix (Temporary fix to Bitnami psql chart licensing issues #55820) for this issue is available in the currently not-yet released chart version 1.19.
    • However, this fix is probably broken, as pointed out in these comments (1, 2) that came after the PR of the fix was merged. Namely: the values.yaml now refers to a older postgresql version (13) than was the case with Bitnami (16.1).

    Yep. And just to repeat what's being written elsewhere - we are not going to fix Postgres. Even including the past released charts. Postgres in the charts had always been for quick start and debugging and never, ever meant to be used in production. If anyone wants to have Helm Chart with Postgres embeddded in rather than hosted outside -they are free to extend our chart and do it on their own - see https://airflow.apache.org/docs/helm-chart/stable/extending-the-chart.html.

  8. kaxil commented on Oct 1, 2026

    @kaxil
    Member

    The default image pull failure was fixed by #55820 and #61156, released in Helm chart 1.19.0, which point the embedded PostgreSQL at the bitnamilegacy image. The embedded database is not recommended for production, and its removal is tracked in #55823. If you still see this on the latest release, comment here and we'll reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:helm-chartkind:bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions