Commit Graph
65 Commits
Author SHA1 Message Date
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
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
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
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
Yaser Alraddadi 50b736f588 Update postgres version (#693)
* Update values.yaml

* update postgres version
2017-03-16 16:39:21 -07:00
Sameer Naik f6c53e6717 postgres: lower initialDelay and timeout for readiness probe (#318)
* [stable/postgresql] lower initialDelaySeconds of readiness probe

updated health probes to test postgres connection with POD_IP

* postgresql: adjust probe timeouts
2017-03-15 11:36:45 +00:00
Philip Champon 3d2733d2c1 [stable/postgresql] add persistence.existingClaim (#616)
* add persistence.existingClaim to postgresql

* update docs

* make template inline

* nope, that was not right

* up version

* clean up templating

* bump minor version
2017-03-15 11:06:46 +00:00
Ravi Mehra 9267d7c8ef [stable/postgresql] Fix volume's hidden directories from crashing initdb (#416)
* Fixes #415
* Use volumeMount subPath feature to accomplish same goal.  Removed obseleted init-container to remove lost-found directory.
* Bumped version to 1.0.0.  Made persistence.subPath configurable.  Added a note in README for users wanting to upgrade.
* Updated persistence readme wording
2017-02-13 15:47:17 -06:00
Miguel Ángel Martínez Triviño 7278e543c6 [stable/postgresql[ Update description and icon (#559)
* Postgresql add description and icon

* Version bump
2017-02-12 20:23:01 -08:00