tryretool / retool-helm

MIT License
45 stars 57 forks source link

Choose postgresql PVC size? #137

Open sergiynesterenko90 opened 8 months ago

sergiynesterenko90 commented 8 months ago

I am deploying this helm chart on a self-managed cluster. The data-retool-postgresql-0 defaults to 8Gi. Is there any way to increase this value from the helm chart values?

I realize that this postgres instance isn't recommended for production, but it is sufficient for my current needs. I could manually increase the PVC with a kubectl edit, but I am deploying this chart in multiple locations so it would be nice to include the PVC spec in the initial deploy.

Revocsid commented 6 months ago

Postgresql is deployed with a sub chart based on the Bitnami chart, which can be found at : https://github.com/bitnami/charts/tree/main/bitnami/postgresql

All values contained within the .Values.postgresql are injected into this sub chart. Therefore, if you want to customize the size of the PVC for the postgres primary, you can do the following :

postgresql:
  enabled: true
  primary:
    persistence:
      size: 50Gi