Commit Graph
66 Commits
Author SHA1 Message Date
Carlos Rodríguez Hernández 381a36aff2 Revert "[stable/postgresql] Release 2.2.3 (#8856)" (#8881)
This reverts commit b772e0abc0.

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2018-10-30 04:25:27 -07:00
Bitnami Bot b772e0abc0 [stable/postgresql] Release 2.2.3 (#8856)
* postgresql: update to `11.0.0`

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* postgresql: bump chart appVersion to `11.0.0`

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* postgresql: bump chart version to `2.2.3`

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2018-10-29 17:11:04 -07:00
Cédric de Saint Martin 24699be824 [stable/postgresql] Add OWNER file, add desaintmartin as maintainer. (#7447)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-10-29 09:25:25 -07:00
Tomas Pizarro 17f91328e4 [stable/postgresql] Fix NOTES.txt render error when service type is LB (#8835)
* [stable/postgresql] Fix NOTES.txt render error when service type is LoadBalancer

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

* Delete wrong line

Signed-off-by: tompizmor <tompizmor@gmail.com>
2018-10-29 04:44:38 -07: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
Igor Zibarev b5dd29867c [stable/postgresql] Fix metrics volume arguments (#7987)
"-extend.query-path" is invalid argument to postgres_exporter since
0.4.x version due to cli library update (ref:
https://github.com/wrouesnel/postgres_exporter/issues/147)

Currently, as a result of invalid argument, metrics container fails
to start.

This commit fixes the issue by replacing broken command line argument
with the corresponding environment variable, as they are more consistent.

Signed-off-by: Igor Zibarev <zibarev.i@gmail.com>
2018-10-06 13:02:51 -07:00
Igor Zibarev 46955b7e19 [stable/postgresql] Fix custom metrics volume (#7294)
Currently, custom metrics for "metrics" image of postgresql pod are
broken. This is because the volume is specified incorrectly. Thus, the
deployment ends up creating `emptyDir: {}` volume instead of `configMap`
one.

This commit fixes it.

Signed-off-by: Igor Zibarev <zibarev.i@gmail.com>
2018-09-24 12:44:03 -07:00
Maxime Guyot 71bc3633cd Add liveness and readiness probes to postgre_exporter (#7502)
Signed-off-by: Maxime Guyot <Miouge1@users.noreply.github.com>
2018-09-04 12:42:23 -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
Cédric de Saint Martin 8eaa90001b [postgresql] Update metrics image to 0.4.6. (#6652)
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
2018-08-31 14:53:20 -07:00
Fabian Ruff a60c8ec778 postgresql: Remove myself from maintainers (#7341)
* postgresql: Remove myself from maintainers

I have not been responsive to requests in the past year. In order avoid frustrations  with future PRs I withdraw myself from the list.

* bump chart version
2018-08-27 12:16:04 -07:00
Cédric de Saint Martin 614cc591a5 [postgresql] Set update strategy to Recreate. (#6343)
* [postgresql] Set update strategy to Recreate.

We NEVER want two different postgres instances to be up at the same time using the same database files, or corruption can occur.
At the cost of having a few seconds of downtime at upgrade time.

* Update Chart.yaml
2018-07-01 12:43:18 -07:00
Alexander Babai cf7a5644c6 [stable/postgresql]: add pods replace strategy support (#6218)
* [stable/postgresql]: add pods replace strategy support

* [stable/postgresql] bump version
2018-06-28 10:49:31 -07:00
Richard Alberto ee77e9ac4e Fix postgresql chart (#6226) 2018-06-21 10:30:59 -07:00
Cornelius Keller 12de98d102 fix postgres chart (#6179) 2018-06-18 09:46:32 -07:00
Frederic Hemberger f269ff5f62 Remove duplicate key 'template' (#6055) 2018-06-17 09:07:47 -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
Jared Allard ba70a64af4 [stable/postgresql]: support prometheus operator (#4996)
* feat(postgres/svc): support prometheus operator

adds a metrics endpoint for prometheus operator servicemonitors

* chore: target inner containerPort

* chore: update chart version 0.9.6
2018-05-25 05:20: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
Michael Laccetti 0e953d4484 [stable/postgresql] PostgreSQL metrics need the right username (#5407)
* PostgreSQL metrics need the right username

If we use `POSTGERS_USER` = `sonar`, metrics go boom.

* Bump version

* Bumping PostgreSQL version

* Bumping PostgreSQL version

* PostgreSQL metrics need the right username

If we use `POSTGERS_USER` = `sonar`, metrics go boom.

* Bumping PostgreSQL version
2018-05-10 06:46:53 -07:00
AdamDang 3d3506d630 [stable/postgresql] typo fix: persitent->persistent (#5447)
* Update Chart.yaml

* Update values.yaml
2018-05-10 00:43:53 -07:00
Alexander Babai 9e1cce036a [stable/postgresql] Standardize labels (#5110)
* [stable/postgresql] standardize labels

* use "postgresql.name" as app label instead of "postgresql.fullname"
* match pods by two labels, release and app

* [stable/postgresql] bump version to 0.9.6

* [stable/postgresql] update notes

* [stable/postgresql] bump version to 0.11.0
2018-04-26 12:49:29 -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
Matt Farina 1960aeac0d Fix for version comparison from strings to semver (#4603)
* Fix for version comparison from strings to semver

See #3002 for more detail

* Include pre-releases in the semver ranges

This is important when testing against alpha and beta builds of
Kubernetes along with environments that use pre-releases to denote
things other than pre-releases (e.g., gke denotes the environment
with a pre-releases)
2018-04-03 09:54:35 -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
Michael van Tricht 624c58299d Update postgresql chart maintainers. (#3893)
* Update postgresql chart maintainers.

* Bumping chart version
2018-02-27 09:33:45 -08:00
Kiall Mac Innes f8c1fbab05 [stable/postgresql] Add fullnameOverride support (#3708)
Add support for a fullnameOverride paramater to the PostgreSQL chart, matching
the pattern used by several other charts, as well as by the `helm create`
template chart.
2018-02-22 20:01:43 -08:00
Lihua Tang 40191610c7 Fix typo: PostgresSQL -> PostgreSQL (#3693) 2018-02-12 05:42:49 -08:00
Ricardo M. Augusto ed2953dbfc Increased probe timeout (#3497)
* Increased probe timeout

When database is stoped brutally database can start with "FATAL: the database system is starting up".
Depending on the storage it may take more than 60 seconds to autofix and the POD will restart indefinitely.

* Increased version

* Update Chart.yaml
2018-02-08 12:40:42 -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
Johannes Choo 0bb24886cf [stable/postgres] command in notes to run postgres client pod should have --restart=Never flag set. (#3325)
* command to run postgres client should not use rs

Modify the printed command to connect to the postgresql server pod to use a `--restart=Never` so that the pod instantiated that hosts a `psql` client is not backed by a ReplicaSet.

* Increment patch version number.
2018-01-15 02:12:24 -08:00
Robin Kearney 54cc48a2fa Trivial fix to two missing namespace options (#3250)
* Trivial fix to two missing namespace options

* forgot to bump the version

* Missing space
2018-01-14 07:50:22 -08: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
Guang Ya Liu 169d8e86b0 [stable/postgresql] Use storageClassName for postgresql. (#2005) 2017-09-10 11:28:00 -05:00
Mike Splain 10a3ab3be3 Add tolerations and node selector to postgresql (#1850) 2017-09-04 14:31:51 -05:00
kevinschumacher 1cd194bef9 [stable/postgresql] namespace template helpers with chart name (#1777) 2017-08-20 12:05:20 +05:30
Dan (Turk) 4d3fe58db0 Add NetworkPolicy to postgresql (#1593) 2017-08-10 11:08:56 -07:00