Commit Graph

65 Commits

Author SHA1 Message Date
Juan Ariza Toledano
52a2c99a89 [bitnami/*] Affinity based on common presets (vii) (#4701) 2020-12-14 10:57:51 +01:00
Sergey Bespalov
e0c026c74b [bitnami/postgresql] postgresql-postgres-password doesn't work with global.postgresqlUsername and without postgresqlPostgresPassword #3130 (#4380)
* [bitnami/postgressql] `postgresql-postgres-password` doesn't work with `global.postgresqlUsername` and without `postgresqlPostgresPassword` #3130

* [bitnami/postgresql] `postgresql-postgres-password` doesn't work with `global.postgresqlUsername` and without `postgresqlPostgresPassword` #3130

Co-authored-by: Беспалов Сергей Михайлович <bespalov@srvhub.ru>
Co-authored-by: Sergey Bespalov <bespalov_sm@srvhub.ru>
2020-11-25 13:47:47 +01:00
CUELLAR Grégory
e383a6e328 [bitnami/postgresql] Implement persistence selector (#4437)
* [bitnami/postgresql] Implement persistence selector

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-11-20 21:31:09 +01:00
Miguel Ángel Cabrera Miñagorri
7eabc85fd4 [bitnami/postgresql] Adapt to Helm v3 and change nomenclature (#4385)
* Breaking change removal of Master/Slave

* Some additional clean up post merge of terms

* [bitnami/postgresql] Major version. Adapt Chart to apiVersion: v2

* Update Chart.yaml

* Delete empty section from README

Co-authored-by: W. Kavanaugh Latiolais <kavlatiolais@gmail.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2020-11-17 16:19:22 +01:00
Miguel Ángel Cabrera Miñagorri
ea13243ea6 [bitnami/postgresql] Fix secret logic for passwords (#4123) 2020-10-30 14:16:01 +01:00
Vincent Behar
b3a95b701b [bitnami/*] Extra manifests should be top-level (#4161)
extra manifests declared with the `extraDeploy` value used to be defined in a single List manifest.
the issue with this setup, is that if you want to define a Job to be used as a Helm hook, it won't work - because Helm only look at top-level manifests to find the hook annotations.

this PR changes the implementation of extra manifests, by rendering top-level manifests instead of wrapping them inside a List.
charts users don't need to change anything in their values.yaml
2020-10-30 14:11:06 +01:00
Aleksei Plotnikov
a92fbbe145 [bitnami/postgresql] Fix slave.extraInitContainers value (#4124)
* [bitnami/postgresql] Fix slave.extraInitContainers value

* [bitnami/postgresql] Version bump

* Use slave instead of master in the statefulset

* Fix comment in the values.yaml

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
2020-10-27 10:23:24 +01:00
Aleksei Plotnikov
05eae0696d [bitnami/postgresql] Fix extraDeploy, customLivenessProbe and customReadinessProbe values (#4090)
Co-authored-by: Aleksei Plotnikov <aleksei.plotnikov@starship.co>
2020-10-23 14:07:22 +02:00
Александр Аксентьев
6b8c1910bf [bitnami/postgresql] Permit init-container start with root user. (#4072)
* Permit init-container start with root user.

If kubernetes cluster has enabled PSP feature, then init-container for fixing volume owner can not be running because root user is denied.

* bump version

* FIX: Bump version
2020-10-22 10:46:14 +02:00
Martín Caballero
46039b3974 [bitnami/postgresql] Added publishNotReadyAddresses: true to svc-headless.yaml (#3990)
* Set endpoints to be published before readiness checks pass as these endpoints are required to bootstrap the Cluster and make the application ready.

* Incremented version number
2020-10-13 12:59:53 +02:00
Александр Аксентьев
b5c34a1ed8 [bitnami/postgresql] Allow exporter port in network-policy if metrics enabled (#3944)
* Allow exporter port in network-policy if metrics enabled

* up chart version
2020-10-08 10:22:32 +02:00
Douglas Vaghetti
204d41df2b [bitnami/postgresql] Allow specifying different resource requests/limits on slaves (#3800) 2020-09-29 17:26:32 +02:00
Marcos Bjoerkelund
a933a38ec1 [bitnami/postgresql] Revert #3768 due to being a breaking change (#3808)
* Revert "[bitnami/postgresql] Added labels for volumeClaimTemplates (#3768)"

This reverts commit 03f324b9f5.

* Update chart version
2020-09-29 16:41:40 +02:00
Rahul Sadanandan
03f324b9f5 [bitnami/postgresql] Added labels for volumeClaimTemplates (#3768)
* Added labels for volumeClaimTemplates

* Update Chart.yaml

* Update bitnami/postgresql/templates/statefulset.yaml

Co-authored-by: Daniel Arteaga <dani8art.da@gmail.com>

Co-authored-by: Daniel Arteaga <dani8art.da@gmail.com>
2020-09-25 16:04:35 +02:00
Miguel Ángel Cabrera Miñagorri
af4ae62ab7 [bitnami/postgresql] Use common functions for tplValues (#3730)
* [bitnami/postgresql] Use common functions for tplValues

* Bump version
2020-09-23 11:56:20 +02:00
Javier J. Salmerón-García
a729b97926 [bitnami/postgresql] Add customLivenessProbe and customReadinessProbe (#3728)
* [bitnami/postgresql] Add customLivenessProbe and customReadinessProbe

* Format table
2020-09-21 14:07:44 +02:00
Javier J. Salmerón-García
f193e43f1e [bitnami/postgresql] Add improvements to comply with STIG (#3712)
* [bitnami/postgresql] Add improvements to comply with STIG

* undo fluentd

* extra list

* Fix missing env var
2020-09-18 19:07:40 +02:00
Django
49a39d6c6a [bitnami/postgresql] Add arbitrary securityContext configuration to improve security (#3687)
* [bitnami/postgresql] Added configurable securityContext

* [bitnami/postgresql] Reverted podSecurityContext to securityContext for compat

* [bitnami/postgresql] Fixed incorrect key in values-production.yaml
2020-09-17 17:25:23 +02:00
Tianyu Qiu
b481f633ef [bitnami/postgresql] - Add PostgreSQL cross cluster replication ability (#3574) 2020-09-02 09:25:11 +02:00
Adrien
e7c2b1d623 [bitnami/postgres] Add chown on .Values.persistence.mountPath (#3348)
* Add chown on .Values.persistence.mountPath

* Update chart postgre version

* Remove recursive on chown

* Keep coherent statefulset and statefulset-slaves
2020-09-01 18:50:04 +02:00
Juan Ariza Toledano
3910de7325 [bitnami/postgresql] Fix slave' statefulset when persistence is disabled (#3527)
Signed-off-by: juan131 <juanariza@vmware.com>
2020-08-27 11:50:32 +02:00
Jose Antonio Carmona
e64df12d1f [bitnami/postgresql] Fix Postgres password with externalSecret (#3408)
* Fix Postgres password with externalSecret

Signed-off-by: joancafom <jcarmona@bitnami.com>

* Apply suggestions to improve readability

Co-authored-by: Rafael Ríos Saavedra <rafael.rios.saavedra@gmail.com>
2020-08-18 13:05:24 +02:00
Daniel Arteaga
b27b99d1f6 [bitnami/postgresql] feat: add new value to enabled slave persistence (#3438) 2020-08-18 11:58:45 +02:00
Daniel Arteaga
079f5bd6ec [bitnami/*] Use common helps for upgrade password errors (#3335)
* use common helpers to fix upgrade password issues

Signed-off-by: darteaga <darteaga@vmware.com>

* fix phpmyadmin upgrade

* fix phpmyadmin upgrade

* add .lock to pass test

* fix phpmyadmin values
2020-08-13 18:06:00 +02:00
Jose Antonio Carmona
6c855ffb40 [bitnami/postgresql] Postgresql TLS Support (#3057)
* Add TLS support for postgresql chart

Signed-off-by: joancafom <jcarmona@bitnami.com>

* Bump Chart version

* Remove unnecessary if condition in helper

* Notice about volumePermissions and TLS

* Improve TLS readability in README.md

* Remove the possibility of using /files/certs to upload TLS certs

* Fix indentation in init-containers

* Add warning for volumePermissions

* Bump PostgreSQL image version

In order to match the minimum release with TLS support
2020-07-14 15:15:56 +02:00
Dennis Effing
693e7656d1 [bitnami/postgresql] Helm label best practices (#3021)
* [bitnami/postgresql] Add dependency on bitnami common chart

* [bitnami/postgresql] Replace deprecated standard Helm labels

* [bitnami/postgresql] Bump version to 9.0.0

Co-authored-by: Dennis Effing <dennis.effing@codecentric.de>
2020-07-14 12:27:03 +02:00
Ingvarr Zhmakin
abc14b569a Master StatefulSet annotations fix (#2899)
* Mastrer StatefulSet annotations fix

Master StatefulSet uses slave values for annotations. Simple correction provided.

* Updating postgresql chart version

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-06-23 10:51:35 +02:00
Matthew Critchlow
56b036c389 [bitnami/postgresql] Fix extraInitContainers usage (#2689)
* [bitnami/postgresql] Fix extraInitContainers usage

Use postgresql.tplValue template to render extraInitContainers

The current implementation results in a syntax error when creating an
instance of the chart utilizing an initContainer.

Something as simple as:
```
  master:
    extraInitContainers:
      - name: init-example
        image: alpine:latest
        command: ["echo" , "hello"]
```

Results in:
Error: template: hifive/charts/postgresql/templates/statefulset.yaml:116:21: executing "hifive/charts/postgresql/templates/statefulset.yaml" at <.Values.master.extraInitContainers>: wrong type for value; expected string; got []interface {}

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-05-28 15:15:08 +02:00
Matthew Critchlow
035148374b [bitnami/postgresql] Support all metrics env vars (#2620)
* [bitnami/postgresql] Support all metrics env vars

- Add `metrics.extraEnvVars` parameter to `README.md`
- Add sample `metrics.extraEnvVars` to `values.yaml` and `values-production.yaml`
- Add implementation to `statefulset.yaml`, using existing template.
2020-05-21 09:25:52 +02:00
Nenad Strainovic
d88de83e04 [bitnami/postgresql] Fix conf.d permissions with postgresqlextendedConf (#2383)
* [bitnami/postgresql] Fix conf.d permissions with postgresqlextendedConf
2020-04-27 11:51:56 +02:00
Jacob Middag
67e100899c [bitnami/postgresql] Fix pod labels in master statefulservice (#2392)
* [bitnami/postgresql] Fix pod labels in master statefulservice
2020-04-23 09:57:51 +02:00
Javier J. Salmerón-García
1765929fa8 [bitnami/postgresql] Add option to add annotations to all generated resources (#2368)
* [bitnami/postgresql] Add option to add annotations to all generated resources

* Add to readme

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-20 16:20:17 +02:00
Pavel Kazhavets
c60c746679 [bitnami/postgresql] Add PSP, Role and RoleBinding to chart (#2313)
* [bitnami/postgresql] Add PSP, Role and RoleBinding to chart

* [bitnami/postgresql] Add validation for psp.create and rbac.create parameters

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-17 08:52:33 +02:00
Juan Ariza Toledano
d128498599 [bitnami/postgresql] Avoid using 'deepCopy' since it's not supported in Helm old versions (#2275)
* [bitnami/postgresql] Avoid using 'deepCopy' since it's not supported in Helm old versions

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

* [bitnami/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2020-04-09 09:54:16 +02:00
Miguel Ángel Cabrera Miñagorri
25de34c95a [bitnami/postgresql] Fix svc-read.yaml error (#2241)
* [bitnami/postgresql] Fix svc-read.yaml error

Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
2020-04-07 09:30:53 +02:00
Tim Hise
fa546fc21c [bitnami/postgresql] fix replication with nodePort service type #2063 (#2192)
* Customizable master and slave service types, clusterips, and nodeports. Fixes collision when services are both nodeport type
* [bitnami/postgresql] Update components versions

Co-authored-by: Tim Hise <timjhise@gmail.com>
Co-authored-by: Kavanaugh Latiolais <kav@pelo.tech>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-06 10:03:38 +02:00
lyca
27bf542764 [bitnami/postgresql] Tpl usage in existing secret (#2211)
* Allow template usage for existingSecret.

* Updated chart version.

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-04-03 18:51:24 +02:00
Marcos Bjoerkelund
8fce43be84 [bitnami/postgresql] Fix conf permissions with postgresql.extendedConf (#2141)
* [bitnami/postgresql] Fix permissions of conf directory with postgresql.extendedConf

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-03-30 16:56:05 +02:00
Juan Ariza Toledano
429df27997 [bitnami/postgresql] Fix loadBalancerSourceRanges in svc-read (#2117)
* [bitnami/postgresql] Fix loadBalancerSourceRanges in svc-read

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

* [bitnami/postgresql] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
2020-03-23 10:20:19 +01:00
Juan Ariza Toledano
0587893a5b [bitnami/postgresql] Update README.md + yamllint (#2097)
* [bitnami/postgresql] Update README.md

Signed-off-by: juan131 <juan@bitnami.com>
2020-03-20 10:16:45 +01:00
Epifanov Denis
dc4a34bae5 [bitnami/postgresql]fix credetials for initdbScripts (#2083)
* [bitnami/postgresql] Fix credetials for initdbScripts
2020-03-20 08:33:52 +01:00
Evili del Rio
730ef6c309 [bitnami/postgresql] Evaluate extraEnvVarsCM as a template (#2059)
Signed-off-by: Evili del Rio <evili.del.rio@gmail.com>
2020-03-18 09:40:39 +01:00
Carlos Rodríguez Hernández
a0e44f7d6a Move charts from upstreamed folder to bitnami (#2032)
* Move charts from upstreamed folder to bitnami

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Remove root .helmignore

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Bump charts version

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Remove file added by error

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Update Chart.yaml
2020-03-11 17:11:37 +01:00
Carlos Rodriguez Hernandez
5e80f54d4e Remove PostgreSQL chart from Bitnami 2018-10-24 07:58:59 +00:00
Carlos Rodriguez Hernandez
9ead294d57 Change logic to determine registry 2018-10-15 13:15:08 +00:00
Carlos Rodriguez Hernandez
24706a6163 Apply some suggestions 2018-10-15 09:49:40 +00:00
Carlos Rodriguez Hernandez
dec26e5d0b Check if global is set 2018-10-11 15:24:42 +00:00
Carlos Rodriguez Hernandez
93170acc16 Fix typo 2018-10-11 14:07:35 +00:00
Carlos Rodriguez Hernandez
395ba08e2b Add global registry option to Bitnami charts 2018-10-11 13:02:53 +00:00
gtseres
e42a9233eb Change name truncation to 63 instead of 24 2018-10-05 00:59:52 +03:00