Commit Graph
170 Commits
Author SHA1 Message Date
Christian VervoortsandKubernetes Prow Robot cb794f4634 [stable/postgresql] Ignore lost+found in the mountPath directory (#14684)
* Ignore lost+found in the mountPath directory

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>

* Bump Chart Version

Signed-off-by: Christian Vervoorts <christian.vervoorts@dg-i.net>
2019-06-12 11:56:17 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 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 GoonasekeraandKubernetes Prow Robot 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
Bitnami BotandKubernetes Prow Robot 6fb17fc0c3 stable/postgresql: update to 11.3.0 (#14641)
Signed-off-by: Bitnami Containers <containers@bitnami.com>
2019-06-10 04:59:18 -07:00
Chris AbiadandKubernetes Prow Robot 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
aerotogandKubernetes Prow Robot 14e65cc8d1 [stable/postgresql] Fix data permission error on pod restart (#14538) (#14540)
The command 'mkdir -p' has no effect if the directory already exists. To ensure the init container sets the mode for an existing data directory, we call 'chmod 700' separately.

Signed-off-by: Tim Guenthner <aerotog@gmail.com>
2019-06-06 00:46:11 -07:00
Tomas PizarroandKubernetes Prow Robot 60d89aa165 [stable/postgresql] Make readiness probe compatible for most postgresql images (#14516)
* Make readiness probe compatible for most postgresql images

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

* Simplify logic for generating readiness probe command

Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-06-05 06:53:54 -07:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot ea90d0cc66 [stable/postgresql] (#14464)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
2019-06-04 10:10:39 -07:00
Sébastien Prud'hommeandKubernetes Prow Robot 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
Tomas PizarroandKubernetes Prow Robot 0fff0f9e82 [stable/postgresql] Improve readiness probe (#14370)
* [stable/postgresql] Improve readiness probe

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

* Bump chart version

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

* update flag path for readiness probe

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

* Use proper postgres tag

Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-06-03 08:10:26 -07:00
Juan Ariza ToledanoandKubernetes Prow Robot cdc331a505 [stable/postgresql] Ensure intContainer creates the data directory. (#14401)
* [stable/postgresql] Ensure intContainer creates the data directory.

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

* Update PostgreSQL image tag to '11.3.0-debian-9-r26'

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

* Update PostgreSQL image tag to '11.3.0-debian-9-r26' on 'values-production.yaml'

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

* Update PostgreSQL image tag to '11.3.0-debian-9-r27'

Signed-off-by: juan131 <juan@bitnami.com>
2019-06-03 05:54:18 -07:00
Balint MolnarandKubernetes Prow Robot 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
satchpxandKubernetes Prow Robot 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ándezandKubernetes Prow Robot be5dbfd6e0 [stable/postgresql] Change regex looking for rolling tags (#14265)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-05-29 08:53:22 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 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
Tomas PizarroandKubernetes Prow Robot b283409641 [stable/postgresql] Allow changing port for postgresql chart (#14112)
Signed-off-by: tompizmor <tompizmor@gmail.com>
2019-05-24 00:42:18 -07:00
Carlos Rodríguez HernándezandKubernetes Prow Robot 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
Benoît KnechtandKubernetes Prow Robot 81ccafb9a1 [stable/postgresql] Fix NetworkPolicy in replicated mode (#13863)
* stable/postgresql: Fix NetworkPolicy in replicated mode

With replication enabled and a network policy that prevents external
communication, i.e.

```yaml
replication:
  enabled: true
networkPolicy:
  enabled: true
  allowExternal: false
```

the slave pods are not allowed to connect to the master, which causes
them to enter into a crash loop.

This commit expands the ingress policy to allow communication from the
slaves to the master on port 5432.

Signed-off-by: Benoît Knecht <benoit.knecht@fsfe.org>

* stable/postgresql: Bump chart version number to 4.2.2

Signed-off-by: Benoît Knecht <benoit.knecht@fsfe.org>
2019-05-17 01:16:07 -07:00
Anastas DanchaandKubernetes Prow Robot 15ec005a8b [stable/postgresql] excluding ".snapshot" in chown during init (#13754)
* excluding ".snapshot" in chown during init

  in some environment, where PVs are NFS volumes with `.shapshot` directories,
  such as the case with NetApps, `chown -R` would fail during execution of
  initContainer command
  to avoid failure, `.snapshot` shouldbe excluded from `chown -R`

Signed-off-by: Anastas Dancha <anapsix@random.io>

* same in less lines

Signed-off-by: Anastas Dancha <anapsix@random.io>

* using find statement w/ xargs for error handling

Signed-off-by: Anastas Dancha <anapsix@random.io>
2019-05-15 09:00:43 -07:00
Dennis EffingandKubernetes Prow Robot 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
Bitnami BotandKubernetes Prow Robot 637a0bd43d [stable/postgresql] Release 4.1.0 (#13721)
* stable/postgresql: update to 10.8.0

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

* Update Chart.yaml

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
2019-05-15 00:14:22 -07:00
Nuwan GoonasekeraandKubernetes Prow Robot 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
Juan Ariza ToledanoandKubernetes Prow Robot c581d1c560 [stable/postgresql] Set the right env. variable to enable debug (#13682)
Signed-off-by: juan131 <juan@bitnami.com>
2019-05-10 07:02:00 -07:00
Juan Ariza ToledanoandKubernetes Prow Robot d6356ccfe8 [stable/postgresql] Fix 'mountPath' for password files. (#13653)
Signed-off-by: juan131 <juan@bitnami.com>
2019-05-09 07:48:55 -07:00
Javier J. Salmerón-GarcíaandKubernetes Prow Robot 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
Marcin KlimusandKubernetes Prow Robot 144589a988 [stable/postgresql]: Adjust PGDATA to master value (#13470)
* Adjust PGDATA to master value

Signed-off-by: Marcin Klimus <marcin.klimus@openx.com>

* bump-up version

Signed-off-by: Marcin Klimus <marcin.klimus@openx.com>

* correct variable name

Signed-off-by: Marcin Klimus <marcin.klimus@openx.com>
2019-05-03 06:32:19 -07:00
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