Skip to content

refactor(helm): Replace Bitnami PostgreSQL chart with custom StatefulSet#7831

Merged
NGPixel merged 2 commits intorequarks:fix-helmfrom
acidsugarx:main
Feb 22, 2026
Merged

refactor(helm): Replace Bitnami PostgreSQL chart with custom StatefulSet#7831
NGPixel merged 2 commits intorequarks:fix-helmfrom
acidsugarx:main

Conversation

@acidsugarx
Copy link
Contributor

@acidsugarx acidsugarx commented Oct 28, 2025

Hello! I've faced some troubles in my homelab installation because of the deprecation of bitnami helm charts.

This is a small PR for people who don't want to deal with manual PostgreSQL installation and prefer an out-of-the-box solution.

  • removed Bitnami dependency for helm chart.
  • moved to custom postgresql statefulset solution

Tested on homelab talos + kubeadm 1.29+ version clusters, with longhorn/prox-csi storage classes.
If something is off, let me know :)
Have a nice day, and thanks for the wiki.js!

Replace Bitnami PostgreSQL dependency with custom PostgreSQL StatefulSet implementation
Add new PostgreSQL templates: statefulset, service, and PVC
Update values.yaml to include PostgreSQL image configuration with official postgres:17.4 image
Implement custom PostgreSQL deployment using official Docker Hub image instead of Bitnami chart
Add PostgreSQL resource, nodeSelector, tolerations, and affinity configuration options
Update helper templates to support new PostgreSQL implementation
Update deployment template to connect to the new PostgreSQL implementation
Update README.md to document the new PostgreSQL configuration parameters

BREAKING CHANGE: This replaces the Bitnami PostgreSQL dependency with a custom PostgreSQL implementation using the official
PostgreSQL image from Docker Hub, changing how PostgreSQL is deployed and configured.

Signed-off-by: Ilya Gilev jazer23569@gmail.com
@auto-assign auto-assign bot requested a review from NGPixel October 28, 2025 15:22
@Ishiguro872
Copy link

any update on this?

@majerus1223
Copy link

can this be implemented, right now the helmchart install fails without it.

Failed to pull image "docker.io/bitnami/postgresql:11.5.0-debian-9-r60": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/bitnami/postgresql:11.5.0-debian-9-r60": failed to resolve reference "docker.io/bitnami/postgresql:11.5.0-debian-9-r60": docker.io/bitnami/postgresql:11.5.0-debian-9-r60: not found

@NGPixel NGPixel changed the base branch from main to fix-helm February 22, 2026 03:31
@NGPixel NGPixel merged commit 109b1d2 into requarks:fix-helm Feb 22, 2026
NGPixel added a commit that referenced this pull request Feb 22, 2026
…7936)

* fix(helm): Replace Bitnami PostgreSQL chart with custom StatefulSet (#7831)

* refactor: migrate from Bitnami PostgreSQL to official PostgreSQL image

Replace Bitnami PostgreSQL dependency with custom PostgreSQL StatefulSet implementation
Add new PostgreSQL templates: statefulset, service, and PVC
Update values.yaml to include PostgreSQL image configuration with official postgres:17.4 image
Implement custom PostgreSQL deployment using official Docker Hub image instead of Bitnami chart
Add PostgreSQL resource, nodeSelector, tolerations, and affinity configuration options
Update helper templates to support new PostgreSQL implementation
Update deployment template to connect to the new PostgreSQL implementation
Update README.md to document the new PostgreSQL configuration parameters

BREAKING CHANGE: This replaces the Bitnami PostgreSQL dependency with a custom PostgreSQL implementation using the official
PostgreSQL image from Docker Hub, changing how PostgreSQL is deployed and configured.

Signed-off-by: Ilya Gilev jazer23569@gmail.com

* feature: added a option to use an existing secret for postresql installation

---------

Signed-off-by: Ilya Gilev jazer23569@gmail.com

* refactor(helm): adjust helm templates for clarity

---------

Signed-off-by: Ilya Gilev jazer23569@gmail.com
Co-authored-by: acidsugarx <58903233+acidsugarx@users.noreply.github.com>
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.

4 participants