Commit Graph
144 Commits
Author SHA1 Message Date
Keyvan HedayatiandKubernetes Prow Robot e19c8b6b00 Fixed typo in values.yaml (#13159)
Signed-off-by: Keyvan Hedayati <k1.hedayati93@gmail.com>
2019-04-23 03:04:11 -07:00
Johnny YouandKubernetes Prow Robot d00bdb5baa [stable/postgresql] fix README.md (#13184)
Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
2019-04-22 08:57:44 -07:00
Travis ClineandKubernetes Prow Robot a626b450b9 [stable/postgresql] explicitly use ipv4 for probes (#13073)
* [stable/postgresql] explicitly use ipv4 for probes

Signed-off-by: Travis Cline <travis.cline@gmail.com>

* [stable/postgresql] bump chart version

Signed-off-by: Travis Cline <travis.cline@gmail.com>
2019-04-18 01:34:08 -07:00
jmvizcainoioandKubernetes Prow Robot 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
obeylerandKubernetes Prow Robot 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 GrygorievandKubernetes Prow Robot 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 ToledanoandKubernetes Prow Robot 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íaandKubernetes Prow Robot 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 BeaumontandKubernetes Prow Robot 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
Juan Ariza ToledanoandKubernetes Prow Robot 59c4b8e25d [stable/postgresql] Update NOTES.txt instructions to avoid hardcoding the PostgreSQL image (#12323)
* [stable/postgresql] Update NOTES.txt instructions to avoid hardcoding the PostgreSQL image

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

* Bump fix version

Signed-off-by: juan131 <juan@bitnami.com>
2019-03-18 04:15:13 -07:00
Minh DanhandKubernetes Prow Robot 94b5a26c8d Set rollingUpdate to null when updateStrategy is Recreate (#12319)
Signed-off-by: Minh Danh <minhdanh.ngo@gmail.com>
2019-03-18 03:06:05 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 9c4258f8c8 [stable/postgresql] Use global registry in secondary and/or metrics images (#12241)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-03-15 01:33:09 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 8e4282c9c0 [stable/postgresql] Fix typo in pullSecret example name (#12127)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-03-12 08:08:55 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot e2f149a9b8 [stable/postgresql] Add pullSecrets to volumeContainer and fix comments (#12120)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-03-12 04:46:37 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 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ándezandKubernetes Prow Robot 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
Johnny YouandKubernetes Prow Robot 42bfb48ea2 [stable/postgesql] fix bug in statefulset-slaves, slavePod.xxx -> slave.podxxx (#11485)
Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
2019-02-22 04:16:45 -08:00
Johnny YouandKubernetes Prow Robot dd1d1031ba [stable/postgresql] add postgresqlExtendedConf for stateful slave (#11403)
Signed-off-by: LittleWhiteYA <f46284628@gmail.com>
2019-02-19 04:51:42 -08:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 4bb602bcc8 [stable/postgresql] Fix broken compatibility with initDBScripts with Docker Inc PostgreSQL container (#11482)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2019-02-18 02:27:06 -08:00
Braden WrightandKubernetes Prow Robot 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
Tomas PizarroandKubernetes Prow Robot 5a7f51bc47 [stable/postgresql] Fix wrong securityContext configuration for containers (#11406)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-02-15 01:16:45 -08:00
Bitnami BotandKubernetes Prow Robot b87938b48e stable/postgresql: update to 10.7.0 (#11434)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-02-14 11:22:59 -08:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 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
Alexander AwitinandKubernetes Prow Robot 895ef9b7d0 [stable/postgresql] Fix "Can't initialize iptables table 'nat': Permission denied (you must be root)" error when installed on an Istio-enabled cluster. (#11226)
Only define the `securityContext` on the main container instead of defining it on the top level `spec` which results into injected containers by Istio inheriting this definition (i.e. istio-init).

Related topic: https://github.com/istio/old_issues_repo/issues/316

Signed-off-by: Alexander Awitin <alexanderawitin@gmail.com>
2019-02-11 23:48:47 -08:00
Cédric de Saint MartinandKubernetes Prow Robot 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 PizarroandKubernetes Prow Robot 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
Jakub BorysandKubernetes Prow Robot 4562f37a7b Use fullnameOverride value (#10902)
Signed-off-by: Jakub Borys <jakub.borys@gmail.com>
2019-01-28 02:42:40 -08:00
Tomas PizarroandKubernetes Prow Robot b2cce48668 [stable/postgresql] Fix PostgreSQL healcheck when no database is specified (#10868)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-01-24 04:54:39 -08:00
aerotogandKubernetes Prow Robot 8c1fcb3d17 Fix fatal error caused by Postgresql probes (#10838) (#10839)
Signed-off-by: Timothy Guenthner <aerotog@gmail.com>
2019-01-23 00:01:40 -08:00
Adam EijdenbergandKubernetes Prow Robot c74c09dc30 Stop using POD IP for liveness checks so that it works with ISTIO mTLS (#10689)
If mutual TLS is enabled in strict mode with ISTIO, then the Postgresql
liveness and readiness checks fail to succeed, as traffic to pod IPs is
blocked by the sidecar proxy.

See: https://istio.io/help/faq/security/#k8s-health-checks

Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
2019-01-17 05:30:58 -08:00
Tomas PizarroandKubernetes Prow Robot c0943dbcd6 [stable/postgresql] Fix syntax error when persistence is disabled and replication enabled (#10428)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-01-07 23:52:51 -08:00
Ivan ShapovalovandKubernetes Prow Robot 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
guptaarvindkandKubernetes Prow Robot 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
Ben KlangandKubernetes Prow Robot 72dd8525bc Request resource limits for initContainers (#10314)
Signed-off-by: Ben Klang <bklang@powerhrg.com>
2019-01-02 08:48:50 -08:00
Tomas PizarroandKubernetes Prow Robot 571bca3b67 [bitnami/postgresql] Fix creating initdb scripts from values.yaml (#10332)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-01-02 02:41:38 -08:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 162a1998a1 [stable/postgresql] Fix quote bug (#10224)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-12-26 01:09:54 -08:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 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íaandKubernetes Prow Robot 15535e4a9e [stable/postgresql] Add read-only connection to the replica slaves (#10186)
Signed-off-by: Javier J. Salmeron Garcia <jsalmeron@bitnami.com>
2018-12-20 16:14:02 -08:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 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 ToledanoandKubernetes Prow Robot 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ándezandKubernetes Prow Robot 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 ToledanoandKubernetes Prow Robot 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íaandKubernetes Prow Robot 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
Axel BockandKubernetes Prow Robot fab48affcd [stable/postgresql] fix broken usage of existing PVC (#9832) (#9834)
* fix broken behavior of persistence.existingClaim (#9832)

Signed-off-by: Axel Bock <mr.axel.bock@gmail.com>

* bump version to 3.1.4

Signed-off-by: Axel Bock <mr.axel.bock@gmail.com>

* add emptyDir mount for disbaled persistency

Signed-off-by: Axel Bock <mr.axel.bock@gmail.com>

* fix duplicate updateStrategy key

Signed-off-by: Axel Bock <mr.axel.bock@gmail.com>
2018-12-18 00:28:01 -08:00
chris-malloy-mriandKubernetes Prow Robot 103455d334 [stable/postgresql] When persistence is disabled the empty volume gets added in the wrong spot (#9952)
* When persistence is disabled the empty volume gets added in the wrong spot.

It ends up generating yaml like this:
  updateStrategy:
    type: RollingUpdate
      - name: data
        emptyDir: {}

Signed-off-by: Chris Malloy <chris.malloy@mathresources.com>

* Bumped version.

Signed-off-by: Chris Malloy <chris.malloy@mathresources.com>
2018-12-13 06:42:09 -08:00
Gabriel Nicolas AvellanedaandKubernetes Prow Robot f7831da8ce Removed new line from command line to easy copy and pasting command into the terminal (#9798)
Signed-off-by: Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>

Do not create a Deployment for the psql client to test connectivity with PostgreSQL

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

Fixed command line for test client to add namespace to be able to make connection to the deployed PostgreSQL

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-13 05:50:24 -08:00
Stephen MoloneyandKubernetes Prow Robot a95f551b7b [stable/postgresql] Remove extra lines in secrets.yaml (#9917)
What does this commit/MR/PR do?

- Remove extra lines in secrets.yaml

Why is this commit/MR/PR needed?

- There should be one key/pair per line

Signed-off-by: Stephen Moloney <stephen@stephenmoloney.com>
2018-12-12 02:35:28 -08:00
Cédric de Saint MartinandKubernetes Prow Robot 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 PizarroandKubernetes Prow Robot 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 AvellanedaandKubernetes Prow Robot 41a5a9d9b3 Only pass POSTGRESQL_DATABASE if it is set (#9786)
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-07 04:35:30 -08:00