* [stable/postgresql] Add dedicated tmpsfs for /dev/shm.
Start a database pod without limitations on shm memory. By default docker
limit to (see e.g. the [docker
issue](https://github.com/docker-library/postgres/issues/416), which could be
not enough if PostgreSQL uses parallel workers heavily. If this option is
present and value is , to the target database pod will be mounted a new
tmpfs volume to remove this limitation.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
* [stable/postgresql] SHM: Second version after review + improvements.
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
`postgresqlPostgresPassword` enables users to set a password for the `postgres` user when `postgresqlUsername` is not `postgres`
Signed-off-by: Sameer Naik <sameersbn@vmware.com>
* Add ldap support for postgres chart
Signed-off-by: Rafael Rios Saavedra <rafael.rios.saavedra@gmail.com>
* Adds validation to ldap configuration method. Fix minor details.
Signed-off-by: Rafael Rios Saavedra <rafael.rios.saavedra@gmail.com>
* Bump minor version. Fix simultaneous ldap.url and ldap.server checking
Signed-off-by: Rafael Rios Saavedra <rafael.rios.saavedra@gmail.com>
* Fix condition in ldap.url and ldap.server testing
Signed-off-by: Rafael Rios Saavedra <rafael.rios.saavedra@gmail.com>
Helm performs a lookup for the object based on its group (apps), version (v1), and kind (Deployment). Also known as its GroupVersionKind, or GVK. Changing the GVK is considered a compatibility breaker from Kubernetes' point of view, so you cannot "upgrade" those objects to the new GVK in-place. Earlier versions of Helm 3 did not perform the lookup correctly which has since been fixed to match the spec.
In https://github.com/helm/charts/pull/17281 the `apiVersion` of the statefulset resources was updated to `apps/v1` in tune with the api's deprecated, resulting in compatibility breakage.
This major version bump signifies this change.
Signed-off-by: Sameer Naik <sameersbn@vmware.com>
update the service template to evaluate the annotations as a template,
to allow people to use dynamic values in annotations key or values.
Signed-off-by: Vincent Behar <v.behar@free.fr>
* [stable/postgresql] Avoid init scripts to execute in every restart after changing volume mount point
Signed-off-by: tompizmor <tompizmor@gmail.com>
* [stable/postgresql] Update components versions
Signed-off-by: Bitnami Containers <containers@bitnami.com>
* Bump chart version
Signed-off-by: tompizmor <tompizmor@gmail.com>
The command 'mkdir -p' has no effect if the directory already exists. To ensure the init container sets the mode for an existing data directory, we call 'chmod 700' separately.
Signed-off-by: Tim Guenthner <aerotog@gmail.com>
* [stable/postgresql] Ensure intContainer creates the data directory.
Signed-off-by: juan131 <juan@bitnami.com>
* Update PostgreSQL image tag to '11.3.0-debian-9-r26'
Signed-off-by: juan131 <juan@bitnami.com>
* Update PostgreSQL image tag to '11.3.0-debian-9-r26' on 'values-production.yaml'
Signed-off-by: juan131 <juan@bitnami.com>
* Update PostgreSQL image tag to '11.3.0-debian-9-r27'
Signed-off-by: juan131 <juan@bitnami.com>
* Bump chart version
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
* [stable/postgresql] Use immutable tags
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
* stable/postgresql: Fix NetworkPolicy in replicated mode
With replication enabled and a network policy that prevents external
communication, i.e.
```yaml
replication:
enabled: true
networkPolicy:
enabled: true
allowExternal: false
```
the slave pods are not allowed to connect to the master, which causes
them to enter into a crash loop.
This commit expands the ingress policy to allow communication from the
slaves to the master on port 5432.
Signed-off-by: Benoît Knecht <benoit.knecht@fsfe.org>
* stable/postgresql: Bump chart version number to 4.2.2
Signed-off-by: Benoît Knecht <benoit.knecht@fsfe.org>
* excluding ".snapshot" in chown during init
in some environment, where PVs are NFS volumes with `.shapshot` directories,
such as the case with NetApps, `chown -R` would fail during execution of
initContainer command
to avoid failure, `.snapshot` shouldbe excluded from `chown -R`
Signed-off-by: Anastas Dancha <anapsix@random.io>
* same in less lines
Signed-off-by: Anastas Dancha <anapsix@random.io>
* using find statement w/ xargs for error handling
Signed-off-by: Anastas Dancha <anapsix@random.io>
* Add service account support
Service account utilization is optional and not activated by default.
Signed-off-by: Dennis Effing <dennis.effing@codecentric.de>
* Remove trailing spaces
Signed-off-by: Dennis Effing <dennis.effing@codecentric.de>
* Add missing documentation on serviceAccount.name property
Signed-off-by: Dennis Effing <dennis.effing@codecentric.de>
* Add service account properties to production values
Signed-off-by: Dennis Effing <dennis.effing@codecentric.de>
* [stable/postgresql] Adapt to new bitnami postgresql bash container
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
* Update readme
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
* Change postgresqlDataDir
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
* [stable/postgresql] Allow connection details to be set as global
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
* Add global by default
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
* [stable/postgresql] Allow a template for persistence.existingClaim
Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
* [stable/postgresql] Update values-production for persistence.existingClaim
Signed-off-by: Michael Beaumont <mjboamail@gmail.com>