Commit Graph
63 Commits
Author SHA1 Message Date
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
Cédric de Saint Martin 903abc4189 [postgresql] Add pg_hba.conf option. (#6325)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-09-02 05:36:19 -07:00
Adam Charnock 14520bba51 Adding values for liveness & readiness probe thresholds (#2957)
* Adding values for liveness & readiness probe thresholds

* Postgresql: Upping chart version

* Removing use of default as it is redundant

* Incrementing chart version as it seems someone beat me to it

* Update Chart.yaml
2018-06-17 05:21:31 -07:00
Matt McNaughton 06c9ca585d [stable/postgresql] Add pod/deployment annotations (#5672)
Add the ability to specify pod/deployment annotations through
`values.yml`.

I tested this works without any custom annotations, and also tested
specifying custom annotations and verifying they are included in the
existing pod/deployment.
2018-05-24 12:37:41 -07:00
Ciaran Liedeman 93ccc23505 [stable/postgresql] Add Existing secret (#5413)
* Move custom metrics to config map

* Add existing secret option

* created secretName helper
2018-05-10 07:28:54 -07:00
Corey O'Brien ea9eba4eaf [stable/postgresql] Add option to inject password via file (#5013)
* [stable/postgresql] Add option to inject password via file

* Bump minor version and remove extraneous and
2018-04-18 12:45:00 -07:00
AdamDang b61b4bf7b9 Update stable/postgresql/README.md (#4495)
* Add version for postgresql

Add version for postgresql

* Update stable/postgresql/README.md

Update stable/postgresql/README.md

* Add appVersion key

Add appVersion key

* Modify appVersion

Modify appVersion
2018-03-28 22:14:03 -07:00
gaofly c81ac84077 fix a syntax error (#4361)
* Update Chart.yaml

change the version of it.add a new version

* fix an error 

Find a syntax error and modify line 44 of the file README.md.
2018-03-20 07:38:09 -07:00
Hanlin Wang e715e76d10 [stable/postgresql] Update README.md (#4101)
* Update README.md

* bump version
2018-03-12 04:14:11 -07:00
Federico Nusymowicz f2938a46e3 Allows alternate scheduler for postgresql (#3802) 2018-03-02 10:29:51 -08:00
jonathan.striebel ac3aa9fe6f postgresql: added postgresConfig value to specify runtime config parameters (#3780) 2018-02-28 13:09:45 -08:00
Lihua Tang 40191610c7 Fix typo: PostgresSQL -> PostgreSQL (#3693) 2018-02-12 05:42:49 -08:00
liaoj c4384759af Update README.md (#3601)
typo PostgresSQL --> PostgreSQL
2018-02-08 02:05:44 -08:00
Charles Vallance 79feb6ca8f [stable/postgresql] Added ability to set the NodePort for the postgresql chart. (#3349)
* Added ability to set the NodePort for the postgresql chart.

* Update Chart.yaml
2018-01-29 12:23:34 -08:00
Mickaël Canévet 9ff91203f6 [stable/postgresql] Add persistence.mountPath parameter (#3401)
* Add persistence.mountPath value

This allows to mount a volume in /var/lib/postgresql/data instead of
/var/lib/postgresql/data/pgdata. This is mandatory if the user starting
the postgres image is not the owner of /var/lib/postgresql/data/pgdata
but has only write access to it.

With this patch, the entrypoint will create /var/lib/postgresql/data
with the user that launched the container as owner and initdb will be
happy.

* Add documentation

* bump chart version
2018-01-24 01:17:31 -08:00
Casey Kuhlman 42d157b62d [stable/postgresql] add annotations to pvc (#2858) 2017-12-15 16:57:15 +01:00
Alexander Babai 5ba80d9b68 [stable/postgresql] Add image pull secrets to deployment template (#2831)
* [stable/postgresql] Add image pull secrets to deployment template

* update deployment template
* add new parameter to README

* [stable/postgresql] bump chart version

update version to 0.8.5

* [stable/postgresql] add an example of imagePullSecrets to values.yaml
2017-12-09 13:23:46 +01:00
kavehmzta 752cfe95bb Postgresql: Adding affinity section to deployment (#2585)
* adding affinity setting to postgresql deployment

* bumpding postgresql chart version

* postgresql: fixing a yamllint complain

*   [stable/postgresql] adding affinity to values and readme
2017-11-17 16:56:29 +01:00
Mike Splain 10a3ab3be3 Add tolerations and node selector to postgresql (#1850) 2017-09-04 14:31:51 -05:00
Dan (Turk) 4d3fe58db0 Add NetworkPolicy to postgresql (#1593) 2017-08-10 11:08:56 -07:00
Fabian Ruff b90ad657e1 postgresql: Add option to create custom metrics (#791)
* postgresql: Add option to create custom metrics

* adhere prometheus naming conventions in the example

* postresql: Bump version to 0.7.1
2017-05-31 22:26:52 -07:00
Shane Hender b05303aa0f Support ClusterIP and NodePort service configuration when starting Postgres (#1184) 2017-05-31 20:52:23 +02:00
Barrett Harber 113b449efb Add POSTGRES_INITDB_ARGS (#1127)
- Add POSTGRES_INITDB_ARGS environment variable to deployment
- Update README and values to reflect this addition
2017-05-22 20:19:47 +02:00
Taras Glek 954eb72efd [stable/postgresql] Add external ip and port variables (#855)
* Add external ip and port variables

* bump chart version
2017-05-18 17:20:12 +01:00