* [stable/postgresql] Setting kubernetes version to KubeVersion.Version and defaulting to deprecated KubeVersion.GitVersion
Signed-off-by: Brian Dunnigan <bdun1013dev@gmail.com>
* [stable/postgresql] Bumping chart version
Signed-off-by: Brian Dunnigan <bdun1013dev@gmail.com>
* [stable/postgresql] Added kubeVersion helper that works in Helm 2.x and 3.x
Signed-off-by: Brian Dunnigan <bdun1013dev@gmail.com>
* [stable/postgresql] Simplified kubeVersion helper function
Signed-off-by: Brian Dunnigan <bdun1013dev@gmail.com>
* [stable/postgresql] Add sidecars support
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@vmware.com>
* Fix if
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@vmware.com>
* [postgresql]: auto features for hardened OpenShift clusters, where scc can have different uid ranges; this commit adds options to skip setting runAsUser and try to autodetermine at init
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* [postgresql]: auto features for hardened OpenShift clusters, where scc can have different uid ranges; this commit adds options to skip setting runAsUser and try to autodetermine at init-readme
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* [postgresql]: auto features for hardened OpenShift clusters, where scc can have different uid ranges; this commit adds options to skip setting runAsUser and try to autodetermine at init-linthappy
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* [postgresql]: auto features for hardened OpenShift clusters, where scc can have different uid ranges; this commit adds options to skip setting runAsUser and try to autodetermine at init-toStringComp
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* bump major ver-chart interf. was updated;sync values-prod with values
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* fix test to use volumePermissions.securityContext
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* lint: trailing spaces
Signed-off-by: ReSearchITEng <ReSearchITEng@gmail.com>
* [stable/postgresql] Prefix port names with protocol
Signed-off-by: Tom Brouws <tom@weave.nl>
* Bump chart major version & add disclaimer to README
Signed-off-by: Tom Brouws <tom@weave.nl>
* [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>