helm-chart/unittests
justusbunsi b68b9d91cf [postgresql-ha] Use pgpool service as db connection proxy (#542)
### Description of the change

The `postgresql-ha` provides a dedicated deployment and service called `pgpool`. This application is a proxy that routes the db queries to the active database replica. There's a note about that in their README[^1].

Issue #502 is a side-effect of not using that proxy.

### Possible drawbacks

Using the Charts' default configuration, the `pgpool` deployment has 1 replica, making this a single-point of failure. But users can change the related `postgresql-ha.pgpool.replicaCount` to their needs.

### Applicable issues

- fixes #502

### Checklist

- [x] Templating unittests are added

[^1]: https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml#introduction

Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/542
Reviewed-by: pat-s <pat-s@noreply.gitea.com>
Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com>
Co-committed-by: justusbunsi <sk.bunsenbrenner@gmail.com>
2023-10-14 16:05:59 +00:00
..
config [postgresql-ha] Use pgpool service as db connection proxy (#542) 2023-10-14 16:05:59 +00:00
deployment Improving DRY principle support on gitea Ingress host name (#498) 2023-09-22 15:09:13 +00:00
gpg-secret Fix wrong reference to existingKey (#415) 2023-03-21 14:16:41 +08:00
init Set image.rootless to true by default (#449) 2023-06-27 20:32:01 +00:00
serviceaccount [Breaking] Add HA-support; switch to Deployment (#437) 2023-07-17 19:09:42 +00:00