Commit Graph

70 Commits

Author SHA1 Message Date
Javier J. Salmerón-García
b2c322aab6 [bitnami/postgresql-ha] Add hostAliases (#5301) 2021-01-29 15:07:47 +01:00
Juan Ariza Toledano
1a0f82046e [bitnami/postgresql-ha] Remove support to load conf/scripts from 'files/' directory (#5188) 2021-01-22 13:51:25 +01:00
Rafael Ríos Saavedra
6de1843ea3 [bitnami/postgresql-ha] Fixes pgpool PGPOOL_CHILD_LIFE_TIME not rendered when is 0 (#5027)
* Fixes pgpool PGPOOL_CHILD_LIFE_TIME not rendered when is 0

* Handle the case when the parameter is empty

Co-authored-by: rafael <rafael@bitnami.com>
2021-01-15 16:10:34 +01:00
Miguel Ángel Cabrera Miñagorri
b33cc5de3e [bitnami/postgresql-ha] Fix password when using existingSecret (#4659)
* [bitnami/postgresql] Fix password when using existingSecret

* Use templates for global values

* Create new helper to check if the password is provided
2021-01-08 16:47:21 +01:00
Rafael Ríos Saavedra
3795365e25 [bitnami/postgresql-ha] Adds custom service labels (#4251)
* [bitnami/postgresql-ha] Adds custom service labels

* Move serviceLabel to service block, added to the README.md

* Add `component: pgpool` to pgpool's service labels.

* Bump chart version

Co-authored-by: rafael <rafael@bitnami.com>
2020-12-18 17:56:09 +01:00
Juan Ariza Toledano
950ac9cd4d [bitnami/*] Affinity based on common presets (viii) (#4721) 2020-12-15 12:24:38 +01:00
bl-ue
49adc63b67 [bitnami/*] fix typos (#4699)
* Fix typos

* Update bitnami/airflow/README.md

* fix minor typo

Co-authored-by: Marcos Bjoerkelund <marcos@bitnami.com>
2020-12-14 09:17:49 +01:00
CUELLAR Grégory
e35d4bf21a [bitnami/postgresql-ha] Implement persistence selector (#4436)
* [bitnami/postgresql-ha] Implement persistence selector

* [bitnami/postgresql-ha] Implement persistence selector ( change version number )
2020-11-20 16:31:34 +01:00
Robert Van Voorhees
74bbc41a0f [bitnami/postgresql-ha] Parameterize postgresql-ha namespace (#4343)
* Pull namespace into a dedicated variable to provide an easier way to override.

* Increment chart version.

Co-authored-by: Marcos Bjoerkelund <marcos@bitnami.com>
2020-11-16 18:04:52 +01:00
Vincent Behar
b3a95b701b [bitnami/*] Extra manifests should be top-level (#4161)
extra manifests declared with the `extraDeploy` value used to be defined in a single List manifest.
the issue with this setup, is that if you want to define a Job to be used as a Helm hook, it won't work - because Helm only look at top-level manifests to find the hook annotations.

this PR changes the implementation of extra manifests, by rendering top-level manifests instead of wrapping them inside a List.
charts users don't need to change anything in their values.yaml
2020-10-30 14:11:06 +01:00
Juan Ariza Toledano
64051f7ce4 [bitnami/postgresql-ha] Add improvements to comply with STIG (#4059)
* [bitnami/postgresql-ha] Add improvements to comply with STIG

Signed-off-by: juan131 <juanariza@vmware.com>

* Fix README.md

Signed-off-by: juan131 <juanariza@vmware.com>

* Use 'error' as log level for clients

Signed-off-by: juan131 <juanariza@vmware.com>
2020-10-21 15:20:28 +02:00
Rafael Ríos Saavedra
7ecc8994a1 [bitnami/postgresql-ha] Adds parallel deployment to postgresql statefulset (#4003)
* [bitnami/postgresql-ha] Adds parallel deployment to postgresql statefulset

* Adds upgrading info v3 -> v5 in the REAMDE.

Co-authored-by: rafael <rafael@bitnami.com>
2020-10-13 19:04:18 +02:00
Kane
1892bc6eea [bitnami/postgresql-ha] Fix pre-stop.sh script errors - fixes #3983 (#3984) 2020-10-13 12:56:56 +02:00
Kane
156ec5e957 [bitnami/postgresql-ha] Fix secrets-mounted path for REPMGR_PASSWORD_FILE - fixes #3981 (#3982) 2020-10-12 19:43:31 +02:00
Javier J. Salmerón-García
739b4b9483 [bitnami/postgresql-ha] Revert https://github.com/bitnami/charts/pull/3681 (#3953) 2020-10-08 13:51:25 +02:00
Javier J. Salmerón-García
8ee923ce98 [bitnami/postgresql-ha] Add standard Bitnami parameters (#3797)
* [bitnami/postgresql-ha] Add standard Bitnami parameters

* Extend the use of common

* Lint issues

* Lint
2020-10-08 10:24:41 +02:00
Miguel Ángel Cabrera Miñagorri
9c51e25c15 [bitnami/postgresql-ha] Add Pod Management Policy as Parallel (#3681)
Co-authored-by: Rafael Ríos Saavedra <rafael.rios.saavedra@gmail.com>
2020-10-07 12:57:46 +02:00
Kane
6f1ca9f3c7 [bitnami/postgresql-ha] Fix volumnMounts path collision for secrets - fixes #3922 (#3927) 2020-10-07 10:48:14 +02:00
lpaarup
4f53a54a33 [bitnami/postgres-ha] Extra volumes, mount and initContainers added. (#3861)
* [bitnami/postgres-ha] extra volumes, mount and initContainers added (bitnami#3437)

* [bitnami/postgres-ha] Version bump.

* [bitnami/postgres-ha] yamllint on values.yaml

* [bitnami/postgres-ha] Minor version bump and cleaning.

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Luis Paarup <luis.paarup@hpe.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-10-06 10:09:39 +02:00
Carlos Rodríguez Hernández
b4ceb72deb [bitnami/postgresql-ha] Add sr_check_database to pgpool configuration (#3754)
* Add sr_check_database to pgpool configuration

* Add pgpool image containing the required changes
2020-09-23 11:16:56 +02:00
Django
ea7bdb0277 [bitnami/postgresql-ha] Add arbitrary securityContext configuration to improve security (#3705)
* [bitnami/postgresql-ha] Added configurable securityContext

* [bitnami/postgresql-ha] Fixed incorrect readme description

Co-authored-by: Miguel Ángel Cabrera Miñagorri <macabrera@bitnami.com>
2020-09-22 10:08:32 +02:00
Javier J. Salmerón-García
71376ff3cd [bitnami/postgresql-ha] Add TLS support in PgPool (#3647)
* [bitnami/postgresql-ha] Add TLS support in PgPool

* Image

* Image

* Values production

* Remove data

* Apply requested changes

* Update readme
2020-09-10 17:46:22 +02:00
Rashad Ansari
49056ea448 [bitnami/postgresql-ha] Fix postgresql-ha chart prometheus annotations (#3371) 2020-08-11 09:35:48 +02:00
Jose Antonio Carmona
f8d79eacbe [bitnami/postgresql-ha] Add additional users entries in pgpool_passwd (#3238)
* Add additional users entries in pgpool_passwd

Signed-off-by: joancafom <jcarmona@bitnami.com>

* Improve parameter descriptions
2020-07-28 13:36:32 +02:00
Rafael Ríos Saavedra
5884a3641f [bitnami/postgresql-ha] Set synchronous replication as a parameter (#3187)
* [bitnami/postgresql-ha] Set synchronous replication as a parameter

* Fix linter, blank in comment

* Adds more explanation to README for the new parameter
2020-07-22 16:06:39 +02:00
Carlos Rodríguez Hernández
86166cf38b [bitnami/postgresql-ha] Add existingSecret parameter and improve notes (#3185)
* Add existinSecret parameter

* Show the proper image in the notes

* Bump chart version
2020-07-22 15:34:57 +02:00
Rafael Ríos Saavedra
d597f1abbd [bitnami/postgresql-ha] Fix num replicas parameter (#3177)
* [Charts/postgresql-ha] Fix num replicas parameter

* Update bitnami/postgresql-ha/templates/postgresql/statefulset.yaml

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
2020-07-21 16:42:31 +02:00
ttinkr
53db7d033f [bitnami/postgresql-ha] Conditional rendering of .Values.pgpool.priorityClassName (#2935)
* Conditional rendering of .Values.pgpool.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Conditional rendering of .Values.postgresql.priorityClassName

* Chart version bump

Co-authored-by: ttinkr <thomas.fellinger@nts.eu>
Co-authored-by: Jose Antonio Carmona <joancafom@icloud.com>
2020-07-21 12:25:01 +02:00
Rafael Ríos Saavedra
7adba9d5fc [bitnami/postgresql-ha] Fix num replicas parameter sent to the container (#3006)
* Fix num replicas parameter sent to the container

* Bump chart version

* quote replicaCount
2020-07-16 13:33:37 +02:00
gdecicco
d8f871f33a [bitnami/postgresql-ha] fix NetwokPolicy (#3069)
* [postgresql-ha] fix NetwokPolicy

Allow access from other psql instance in the same release
It allows slave node to connect to master node

* bump version

Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>
2020-07-10 15:41:42 +02:00
Dawid Ciężarkiewicz
4177e715ff Print offending value in validateValues (#3070)
Hi,

I'm debugging why I'm hitting this issue and is really difficult because
it's a remote CI, and this chart is a dependency of my dependency,
and ... I don't want to waste your time.

My point is - if there is an invalid value that doesn't contain secrets, please print it.
Helm is such a terrible combination of templates and yamls files, with absolutely no
resistance for mistakes like typos, that in a larger setups is really difficult to track
the root cause of problems, and a printout like this at very least confirms if the
value is what we think it should be.
2020-07-10 10:11:20 +02:00
Maxence Boutet
fbb761d4b6 [bitnami/postgresql-ha] Add pgpool.strategy and pgpool.minReadySeconds (#3054)
* Add pgpool.strategy and pgpool.minReadySeconds

* Fix missing starting space in comment

* Change pgpool.strategy to pgpool.updateStrategy to conform to bitnami nomenclature

Co-authored-by: Maxence Boutet <maxenceboutet@oulook.com>
2020-07-09 10:33:37 +02:00
Javier J. Salmerón-García
d1b6d3b14a [bitnami/postgresql-ha] Always mount the data folder (#3033) 2020-07-06 18:22:22 +02:00
Javier J. Salmerón-García
58d2be9c17 [bitnami/postgresql-ha] Remove ingress rules (#2958)
* [bitnami/postgresql-ha] Remove ingress rules

* Remove extra elements
2020-06-30 09:54:39 +02:00
Rafael Ríos Saavedra
df9cabe52f [bitnami/postgresql-ha]Fix user configuration for pgpool (#2730)
* Fix user configuration for pgpool

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Change value for PGPOOL_USER_CONFIG_FILE when used a configmap, also change instructions in README

* Fix chart version

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: rafael <rafael@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-06-02 17:06:52 +02:00
Michael Smith
f105cbc56a [bitnami/postgresql-ha] Add option to set postgres user password (#2518)
* [bitnami/postgresql-ha] Add documentation for usePasswordFile option

The `postgresql.usePasswordFile` option was previously added to mount
passwords as a volume rather than in environment variables but was not
documented.

* [bitnami/postgresql-ha] Add postgresqlPassword option

When `postgresql.username` is not `postgres`, a new user is created that
only has permissions for the database created with `postgresql.database`
and the `postgres` user does not have a password and cannot be accessed
remotely.

This commit adds the `postgresql.postgresPassword` property that can be
used to specify the password for the `postgres` user when
`postgresql.username` is set to a different user.

Resolves #2470.
2020-05-06 10:15:03 +02:00
Daniel Arteaga
9d337fee37 [bitnami/postgresql-ha] add graceful exit for primary nodes (#2406)
* add pre-stop hook

* fix yaml lint errors

* bumb chart version

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-30 18:04:50 +02:00
RichieSams
2548751a54 [bitnami/postgresql-ha] Add relabelings / metricRelabelings to ServiceMonitor (#2307)
* [bitnami/postgresql-ha] Add relabelings / metricRelabelings to ServiceMonitor
2020-04-24 10:19:43 +02:00
lyca
3c2b4a27f9 [bitnami/postgresql-ha] Tpl usage in existing secret (#2212)
* Allow template usage for existingSecret.
2020-04-09 15:03:49 +02:00
Steven Sheehy
97fee8da2c [bitnami/postgresql-ha] Add labels and init DB scripts secret (#2225)
* [bitnami/postgresql-ha] Add labels and init DB scripts secret

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
2020-04-09 09:57:25 +02:00
Robert Moucha
44b201b922 [bitnami/postgresql-ha] Add missing config properies to chart deployment (#2239)
* Add missing config properies to bitnami/postgresql-ha

* add pgpool.maxPool that maps to PGPOOL_MAX_POOL env. variable
* add pgpool.numInitChildren that maps to PGPOOL_NUM_INIT_CHILDREN

These variables are already supported by recent bitnami/pgpool images

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Miguel Ángel Cabrera Miñagorri <macabrera@bitnami.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-07 10:50:58 +02:00
Steven Sheehy
b17d5b8cf4 [bitnami/postgresql-ha] Add priorityClassName (#2210)
* Add priorityClassName to postgresql-ha

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-03 18:51:00 +02:00
Asaf Ohaion
b928ba3aa2 templates/pgpool: fixed typo in deployment yaml pgool -> pgpool (#2170) 2020-03-31 11:10:42 +02:00
Marcos Bjoerkelund
d64960cacd [bitnami/postgresql-ha] Fix conf permissions with postgresql.extendedConf (#2140)
* [bitnami/postgresql-ha] Fix permissions of conf directory with postgresql.extendedConf

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-03-30 16:55:53 +02:00
Juan Ariza Toledano
2c871551de [bitnami/postgresql-ha] Move Pgpool to non-root (#2133)
* [bitnami/postgresql-ha] Move Pgpool to non-root

Signed-off-by: juan131 <juan@bitnami.com>

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2020-03-25 15:13:52 +01:00
Juan Ariza Toledano
79a9289451 [bitnami/posgresql-ha] Fix Pgpool's healthcheck script's path (#2116)
* [bitnami/posgresql-ha] Fix Pgpool's healthcheck script's path

Signed-off-by: juan131 <juan@bitnami.com>

* [bitnami/postgresql-ha] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2020-03-23 09:39:33 +01:00
Carlos Rodríguez Hernández
40ee57cf51 [bitnami/several] Adapt READMEs and helpers to Helm 3 (#1911)
* [bitnami/several] Adapt READMEs and helpers to Helm 3

* Update _docs
2020-02-11 15:09:36 +01:00
juan131
39c2058474 [bitnami/postgresql-ha] Fix mount point for extended PostgreSQL configuration
Signed-off-by: juan131 <juan@bitnami.com>
2020-02-06 09:45:31 +01:00
Sameer Naik
df9db779a8 [bitnami/postgresql] moved liveness probe command to healthcheck.sh script 2020-01-31 15:30:22 +05:30
Sameer Naik
3cad5374d6 [bitnami/postgresql-hq] do not wait for backend nodes in pgpool deployment
Fixed liveness probes and remove initContainer to make the chart more resilient to error conditions

fixes #1799
2020-01-28 21:36:12 +05:30