Commit Graph
86 Commits
Author SHA1 Message Date
Carlos Rodríguez Hernández d7af67ae19 [stable/postgresql] Unify and document production values (#14669)
* Unify and document production values

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add suggestion

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Bump version

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-06-11 02:46:21 -07:00
Nuwan Goonasekera 691a770df5 [stable/postgresql] Allow templating of extra env vars (#14664)
* Allow templating of extra env vars

Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>

* Bump chart version to fix lint error

Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
2019-06-11 00:46:17 -07:00
Chris Abiad 5ac4b37ce0 [stable/postgresql] README.md - fix minor typos (#14510)
* README.md - fix minor typos

Signed-off-by: Christopher Abiad <chris@chrisabiad.com>

* stable/postgresql - Increment chart semver

Signed-off-by: Christopher Abiad <chris@chrisabiad.com>

* stable/postgresql - Increment version to 5.3.3

Signed-off-by: Christopher Abiad <chris@chrisabiad.com>

* stable/postgresql - Increment version to 5.3.4

Signed-off-by: Christopher Abiad <chris@chrisabiad.com>
2019-06-06 08:38:14 -07:00
Sébastien Prud'homme 555cd7cbd6 [stable/postgresql] servicemonitor resource for prometheus operator (#14369)
* [stable/postgresql] servicemonitor resource for prometheus operator

Signed-off-by: Sébastien Prud'homme <sebastien.prudhomme@gmail.com>

* Add some new parameters for ServiceMonitor

Signed-off-by: Sébastien Prud'homme <sebastien.prudhomme@gmail.com>
2019-06-04 00:57:01 -07:00
Balint Molnar b74991af78 Add extraVolumeMount and Volume to Postgres Master and Slave (#14280)
Signed-off-by: Balint Molnar <balintmolnar91@gmail.com>
2019-05-31 03:24:29 -07:00
satchpx 3b934d8366 updates to support alternate k8s scheduler (#14363)
Signed-off-by: Sathya Balakrishnan <sathya@portworx.com>
2019-05-31 01:14:25 -07:00
Carlos Rodríguez Hernández e4706433f6 [stable/postgresql] Use immutable tags (#14199)
* 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>
2019-05-28 13:55:22 -07:00
Carlos Rodríguez Hernández 50ac9c8711 [stable/postgresql] Update PostgreSQL chart, from PostgreSQL 10 to 11 (#13908)
* [stable/postgresql] Update PostgreSQL chart, from PostgreSQL 10 to 11

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Update migration instruction

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-05-17 02:14:06 -07:00
Dennis Effing be19b9dc3f [stable/postgresql] Add service account support (#13751)
* 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>
2019-05-15 03:22:18 -07:00
Nuwan Goonasekera 12387212ed [stable/postgresql] Use tpl so release name can be used in config maps (#13705)
* Use tpl so release name can be used in config maps

This runs the config map name through tpl so that templating can be
used with config map and secret names in postgres. Otherwise, it limits
postgres to a single release when using a custom config map name.
This is a workaround for issue: https://github.com/helm/helm/issues/2492
and follows similar solutions used elsewhere:
https://github.com/helm/charts/issues/10342

Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>

* Bump chart version

Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>

* Update docs to indicate that the value is evaluated as a template

Signed-off-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
2019-05-13 23:53:10 -07:00
Javier J. Salmerón-García b94e9f2b99 [stable/postgresql] Adapt to new bitnami postgresql bash container (#13547)
* [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>
2019-05-09 01:10:47 -07:00
Johnny You d00bdb5baa [stable/postgresql] fix README.md (#13184)
Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
2019-04-22 08:57:44 -07:00
jmvizcainoio a86129ae16 [stable/postgresql ] Load Balancer sources (#13059)
* Load Balancer sources

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* remove line

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* Check if type is LoadBalancer
Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>

* add blank lines

Signed-off-by: Juan Manuel <juanmanuel.vizcaino@iomed.es>
2019-04-16 04:31:07 -07:00
obeyler d0f5fc85be [stable/Postgresql] add runAsUser inside security policy (#12854)
* Update statefulset.yaml

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* Update Chart.yaml

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* Update statefulset.yaml

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* Revert "Update statefulset.yaml"

This reverts commit 8ad2230884dab22082eeccbb367816fe51d3f46b.

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* Update statefulset.yaml

Signed-off-by: obeyler <olivier.beyler@orange.com>

* fixup

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* fixup

Signed-off-by: olivier beyler <olivier.beyler@orange.com>

* fixup

Signed-off-by: olivier beyler <olivier.beyler@orange.com>
2019-04-11 06:14:13 -07:00
Mykola Grygoriev e516404270 [stable/postgresql] Correct description of initdbScript peremeter (#12802)
Signed-off-by: nickgryg <nickgryg@gmail.com>
2019-04-04 01:48:55 -07:00
Juan Ariza Toledano 81771e449a [stable/postgresql] Add support to specify the volumeMounts' subPath (#12750)
Signed-off-by: juan131 <juan@bitnami.com>
2019-04-02 08:43:20 -07:00
Javier J. Salmerón-García 7ca2c9a187 [stable/postgresql] Allow connection details to be set as global (#11360)
* [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>
2019-03-20 09:10:59 -07:00
Michael Beaumont f4a1ee643c [stable/postgresql] Allow a template for persistence.existingClaim (#12313)
* [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>
2019-03-19 08:40:30 -07:00
Carlos Rodríguez Hernández bbeffe8385 [stable/postgresql] Add global 'imagePullSecrets' to overwrite any other existing one (#12073)
* [stable/postgresql] Add global 'imagePullSecrets' to overwrite any other existing one

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Fix typo and add var to the README

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Fix typo in helpers

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-03-12 03:00:51 -07:00
Carlos Rodríguez Hernández 6b6d4daf3a [stable/postgresql] Add apiVersion in Chart.yaml and add test info to README.md (#11793)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-02-27 07:54:53 -08:00
Braden Wright 5fd24a8a7e stable/postgres bumped and update values-production as well, fixed merge conflict (#11313)
Signed-off-by: Braden Wright <braden.m.wright@gmail.com>
2019-02-18 00:17:35 -08:00
Javier J. Salmerón-García ab57839901 [stable/postgresql] Allow initDb scripts in the form of secrets (#11233)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2019-02-12 07:19:54 -08:00
Cédric de Saint Martin 14c70d8c5a [stable/postgresql] Update metrics image to v0.4.7. (#11183)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2019-02-06 07:55:35 -08:00
Tomas Pizarro 2d50b55944 [stable/postgresql] Add support for the official postgres image env vars (#10757)
* [stable/postgresql] Add supports for the oficial postgres image env vars

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Add more info to README

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Update README

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Update README

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Grammar and wording fixes in README file

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Update version change for chart

Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-02-04 06:55:57 -08:00
Ivan Shapovalov f759be60d9 [stable/postgresql] Fix initdbScripts; add postgresqlExtendedConf to pass appended configuration via values (#10294)
* k8s: chart: postgresql: refactor initialization-configmap

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>

* k8s: chart: postgresql: pass extended configuration via "postgresqlExtendedConf" values

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>

* k8s: chart: postgresql: bump minor version

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
2019-01-03 23:33:27 -08:00
guptaarvindk abcae04627 added support for specific clusterIp and headless services. (#8314)
Signed-off-by: Arvind Gupta <guptaarvindk@gmail.com>
2019-01-02 11:22:35 -08:00
Javier J. Salmerón-García c39302021b [stable/postgresql] Enable synchronous replication (#10214)
* [stable/postgresql] Enable synchronous replication

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Update values-production.yaml

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Lint

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-12-21 17:17:47 -08:00
Javier J. Salmerón-García d26aca3926 [stable/postgresql] Allow configmaps for configuration and initdb (#10151)
* [bitnami/postgresql] Allow configmaps for configuration and initdb

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Change conf.d mountpoint

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Bump version

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Bump minor version

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-12-20 09:13:03 -08:00
Juan Ariza Toledano d05ba24b0a [stable/postgresql] Allow enabling/disabling volume-permissions Init container (#10130)
* [stable/postgresql] Allow enabling/disabling volume-permissions Init container

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

* Simpler condition to enable initContainers

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

* Rebase from master and bump version

Signed-off-by: juan131 <juan@bitnami.com>
2018-12-20 00:29:38 -08:00
Carlos Rodríguez Hernández 4a4875755d [stable/postgresql] Allows overwrite default config file using include_dir (#10133)
* [stable/postgresql] Allows overwrite default config file using include_dir

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Remove duplicated if statement

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Change README wording

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Bump major version

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-12-19 07:58:46 -08:00
Juan Ariza Toledano 7030efc7b3 [stable/postgresql] Allow including gzip files as initdb scripts (#10124)
* [stable/postgresql] Allow including gzip files as initdb scripts

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

* Increasing Prerequisites on README.md

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

* Only create cm when there are init scripts

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

* Only use init cm when there are init scripts

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

* minor fixes

Signed-off-by: juan131 <juan@bitnami.com>
2018-12-19 03:09:47 -08:00
Javier J. Salmerón-García a22d36543c [stable/postgresql] Allow mounting secrets as files (#10090)
* [stable/postgresql] Allow mounting secrets as files

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Add mounting logic to the metrics container

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>

* Lint

Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-12-18 08:00:18 -08:00
Cédric de Saint Martin c8330f2dbc [stable/postgresql] Add updateStrategy parameter. (#9780)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-12-10 01:02:28 -08:00
Tomas Pizarro f68259033d [stable/postgresql] Support different affinities, nodeSelectors and tolerations for master & slaves (#9646)
* [stable/postgresql] Support different affinities for master & slaves

Signed-off-by: tompizmor <tompizmor@gmail.com>

* Add note to README and obey fullnameOverride

Signed-off-by: tompizmor <tompizmor@gmail.com>
2018-12-07 06:41:04 -08:00
Gabriel Nicolas Avellaneda ce95184419 Fix broken table in README.md for PostgreSQL chart (#9775)
* Fix broken table in README.md for PostgreSQL chart

Signed-off-by: Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>

* Bump chart version

Signed-off-by: Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>
2018-12-06 07:51:38 -08:00
Phillip Kast 0ab8b4eec7 Add existingSecret configuration key to postgresql chart (#9729)
* Add existingSecret configuration key to postgresql chart

Signed-off-by: Phillip Kast <phil@yearofcode.com>

* Use existingSecret in new metrics sidecar

Signed-off-by: Phillip Kast <phil@yearofcode.com>

* Bump chart version to 2.7.8

Signed-off-by: Phillip Kast <phil@yearofcode.com>
2018-12-05 02:03:32 -08:00
Cédric de Saint Martin 6d29127913 [stable/postgresql] Merge metrics into master statefulset as sidecar. (#9574)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-12-04 23:42:32 -08:00
Juan Ariza Toledano f6c0514dc0 [stable/postgresql] Add possibility to use existing PVC (#9652)
* Fix typo

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

* [stable/postgresql] Add possibility to use existing PVC

Signed-off-by: juan131 <juan@bitnami.com>
2018-11-30 07:19:03 -08:00
Johnny You f66e3acc1c remove duplicated configuration in README.md (#9433)
Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
2018-11-21 01:40:42 -08:00
Cédric de Saint Martin 9020001c5b [stable/postgresql] Add ability to give postgresql, pg_hba configuration or initdb scripts from parameters. (#9117)
* [stable/postgresql] Add ability to give postgresql or pg_hba configuration from parameter.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>

* [stable/postgresql] Add ability to give initdb scripts from parameter.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-11-13 08:10:14 -08:00
Cédric de Saint Martin f67cff610a [stable/postgresql] Add affinity parameter. (#9114)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-11-13 07:20:08 -08:00
Cédric de Saint Martin 032a3d4fc2 [stable/postgresql] Fix resources parameter and document it. (#9120)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-11-10 16:41:53 -08:00
Tomas Pizarro 1675127f0a [stable/postgresql] Specify user for the initContainer (#9068)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2018-11-07 02:21:08 -08:00
Tomas Pizarro 258376818f [stable/postgresql] Fix chart when persistence is enabled (#9002)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2018-11-05 07:57:49 -08:00
Juan Ariza Toledano 8bd8912453 [stable/postgreslq] Improve service configuration (#8691)
* Fix typo

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

* [stable/postgreslq] Improve service configuration

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

* Fix lint issues

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

* Small corrections on README.md file

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

* Small corrections on README.md file - ii

Signed-off-by: juan131 <juan@bitnami.com>
2018-10-24 06:12:12 -07:00
Carlos Rodríguez Hernández 898ee9a96f [stable/postgresql] Add global registry option and remove some quotes (#8684)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-24 01:52:08 -07:00
Carlos Rodríguez Hernández 7f1e47c5a8 [stable/postgresql] PostgreSQL maintenance proposal (#8004)
* Adopt postgresql chart

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Fix Chart.yaml

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add metrics and NetworkPolicy to the README

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Remove previous deployment.yaml

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Update NOTES.txt

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add OWNERS file

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add kubeapps text to charts READMEs

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Appy different suggestions

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add terminationGracePeriodSeconds

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add upgrade steps to README

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add how to connect when the networkpolicy is enabled to NOTES.txt

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Allow using pg_hba.conf via configmap

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Update description ingluding pg_hba.conf

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Fix metrics deployment

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Rebase latest changes

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Remove distro tags

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Add OWNERs to .helmignore

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-24 00:48:08 -07:00
Boky 65403e85b0 Added option for custom environment variables for PostgreSQL. (#7589)
This commit enables the user to specify additional environment
variables in the postgres chart.

This is especially important for custom Postgres images which might
have different environment variables for different options or for
enabling additional features.

Furthermore versions have been updated:
- Chart version has been set to 1.0.0, as this is a stable chart

Signed-off-by: Bojan Čekrlić <bojan@cekrlic.com>
2018-10-16 07:57:04 -07:00
Cédric de Saint Martin 68ec4ff1a2 [stable/postgresql] Add terminationGracePeriodSeconds parameter. (#8165)
30 seconds by default might not be enough in some cases.

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-08 13:00:58 -07:00
Cédric de Saint Martin 7b06d36c71 [postgresql] Allow to keep PVC after 'helm delete'. Off by default. (#7283)
See https://github.com/helm/helm/blob/master/docs/charts_tips_and_tricks.md#tell-tiller-not-to-delete-a-resource

Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-09-03 00:26:11 -07:00