Skip to content

169: Remove old Bitnami chart references and values - #187

Open
JaeYeonLee0621 wants to merge 4 commits into
mainfrom
169-remove-old-bitnami
Open

JaeYeonLee0621 wants to merge 4 commits into
mainfrom
169-remove-old-bitnami

Conversation

@JaeYeonLee0621

@JaeYeonLee0621 JaeYeonLee0621 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bitnami's postgresql and redis charts are outdated and no longer maintained, so
they've been removed.

  • PostgreSQL → now runs via CloudNativePG (CNPG) to run PostgreSQL in Kubernetes.
  • Redis → replaced by Valkey (a drop-in Redis-compatible fork).

This removes all Bitnami and outdated code, updates the related comments, and deletes
the vendored .tgz files.

@JaeYeonLee0621 JaeYeonLee0621 self-assigned this Sep 1, 2026
@JaeYeonLee0621 JaeYeonLee0621 linked an issue Sep 1, 2026 that may be closed by this pull request
@JaeYeonLee0621
JaeYeonLee0621 marked this pull request as ready for review September 1, 2026 14:27
# connections (wal_level >= replica, a pg_hba `replication` rule, and a user
# with REPLICATION privilege, e.g. the `postgres` superuser). Only takes effect
# on first creation (the Cluster must not yet exist).
bootstrapFromExternal:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

bootstrapFromExternal:
    enabled: true
    connection:
      # The `postgres` superuser password lives in the same secret Bitnami
      # reads (global.postgresql.auth.secretKeys.adminPasswordKey).
      existingSecret: "aqueduct-secrets"
      secretKeys:
        password: "POSTGRES_PASSWORD"

Is bootstrapFromExternal necessary in aqueduct/staging.yaml? If not, can I delete it?

+) I'm guessing bootstrapFromExternal was only used the first time CNPG started to clone the old database and prevent data loss.

+) https://gitlab.tuwien.ac.at/data-science/chart-values/-/blame/ai-platform/aqueduct/staging.yaml?ref_type=heads#L117

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes we can disable it but leave the config for posterity as documentation.

tls: false
tlsSecretName: ""

postgresql:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can I remove this block from aqueduct/staging.yaml as well?

postgresql:
  enabled: false  # Step 3 of Bitnami -> CNPG migration: stop Bitnami, app auto-derives CNPG host/creds. PVC is NOT deleted.
  primary:
    extraEnvVars:
      - name: POSTGRESQL_MAX_CONNECTIONS
        value: "300"
    extendedConfiguration: |
      shared_buffers = 6000MB
    # Allow pg_basebackup replication connections from the CNPG pod (the
    # default pg_hba.conf has no `host replication` rule, and the `all`
    # database does not match the `replication` pseudo-database). Required for
    # the side-by-side CNPG bootstrap in step 1 of the Bitnami -> CNPG migration.
    pgHbaConfiguration: |-
      local   all             all                                     trust
      host    all             all             0.0.0.0/0               md5
      host    all             all             ::/0                     md5
      host    replication     postgres        0.0.0.0/0               md5
      host    replication     postgres        ::/0                     md5
    persistence:
      enabled: true
      size: 10Gi
    resources:
      limits:
        cpu: "2"
        memory: "8Gi"
      requests:
        cpu: "2"
        memory: "8Gi"

+) https://gitlab.tuwien.ac.at/data-science/chart-values/-/blame/ai-platform/aqueduct/staging.yaml?ref_type=heads#L76

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes this can be removed once it is merged.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can I open an issue so I don't forget it?

@natkam

natkam commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

To me it looks good, but you could also ask Josef to have a look :)

@meffmadd meffmadd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Changes look reasonable but we should wait some time before merging this.

tls: false
tlsSecretName: ""

postgresql:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes this can be removed once it is merged.

# connections (wal_level >= replica, a pg_hba `replication` rule, and a user
# with REPLICATION privilege, e.g. the `postgres` superuser). Only takes effect
# on first creation (the Cluster must not yet exist).
bootstrapFromExternal:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes we can disable it but leave the config for posterity as documentation.

@JaeYeonLee0621

Copy link
Copy Markdown
Contributor Author

Changes look reasonable but we should wait some time before merging this.

Just curious, what's blocking this PR from being merged?

@meffmadd

Copy link
Copy Markdown
Member

We should provide some deprecation period for other users as the charts would stop working if there is no CNPG operator installed on the cluster.

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.

Remove old Bitnami chart references and values

3 participants