* [bitnami/postgresql] Fix password when using existingSecret
* Use templates for global values
* Create new helper to check if the password is provided
* [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>
* Pull namespace into a dedicated variable to provide an easier way to override.
* Increment chart version.
Co-authored-by: Marcos Bjoerkelund <marcos@bitnami.com>
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
* [bitnami/postgresql-ha] Adds parallel deployment to postgresql statefulset
* Adds upgrading info v3 -> v5 in the REAMDE.
Co-authored-by: rafael <rafael@bitnami.com>
* [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>
* [bitnami/postgresql-ha] Set synchronous replication as a parameter
* Fix linter, blank in comment
* Adds more explanation to README for the new parameter
* 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>
* [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>
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.
* 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>
* 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>
* [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.