Commit Graph

104 Commits

Author SHA1 Message Date
Jan Lauber
1b4eac8d71 [bitnami/postgresql] fix init-chmod-data resources value rendering (#9053)
* fix init-chmod-data resources value rendering

Signed-off-by: Jan Lauber <jan.lauber@protonmail.ch>

* bump chart version to 11.0.6

Signed-off-by: Jan Lauber <jan.lauber@protonmail.ch>

* change primary to volumePermissions

Signed-off-by: Jan Lauber <jan.lauber@protonmail.ch>
2022-02-17 10:46:55 +01:00
Juan Ariza Toledano
6cb95dbe16 [bitnami/postgresql] Allow enabling TLS without volume-permissions (#9016) 2022-02-17 08:50:47 +01:00
Juan Ariza Toledano
6fd13e208b [bitnami/postgresql] Fix init scripts cm reference (#9000)
Signed-off-by: juan131 <juanariza@vmware.com>
2022-02-14 12:57:11 +01:00
Marcel Märtens
c75fef792f Postgresql .Values.global.postgresql.auth.username should overwrite .Values.auth.username, (#8966) 2022-02-11 08:20:08 +01:00
Juan Ariza Toledano
86646ba729 [bitnami/postgresql] Fix PostgreSLQ password in metrics container (#8901) 2022-02-04 08:34:01 +01:00
Juan Ariza Toledano
8dc89066cf [bitnami/postgresql] Fix "postgresql.primary.extendedConfigmapName" named template (#8885)
Signed-off-by: juan131 <juanariza@vmware.com>
2022-02-03 09:24:23 +01:00
Juan Ariza Toledano
50946fdff3 [bitnami/postgresql] Chart standardization (#8827)
* [bitnami/postgresql] Chart standardization

Signed-off-by: juan131 <juanariza@vmware.com>

* [bitnami/postgresql] Update components versions

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

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2022-02-02 18:42:51 +01:00
Charlie
e73f9a7fec [bitnami/postgresql]: add snapshot recovery (#8618)
* [bitnami/postgresql]: add snapshot recovery

* [bitnami/postgresql]: adjusting descriptions
2022-01-11 16:10:43 +01:00
Charlie
66f657dc3b [bitnami/postgresql]: fix unique services template render (#8581) 2022-01-07 12:20:30 +01:00
Carlos Rodríguez Hernández
8cad18aed9 [bitnami/several] Adapt templating format (#8562)
Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
2022-01-05 18:10:31 +01:00
Yi Siqi
a6a4cd17ac remove password empty validation (#8534) 2021-12-31 13:36:10 +01:00
Javier J. Salmerón-García
9d6fbea190 [bitnami/postgresql] feat: Allow separate container port and service port (#8506)
* [bitnami/postgresql] feat:  Allow separate container port  and service port

* Add missing metadata
2021-12-28 10:07:12 +01:00
Yi Siqi
00fbcf1471 [bitnami/postgresql] lookup existing secrets before generating random secrets (#8320) 2021-12-22 17:36:28 +01:00
Adrian Jutrowski
73ae0077e7 Render template values inside initDbScripts (#8368) 2021-12-10 15:46:04 +01:00
bbaudelet
b547831b78 [bitnami/postgresql] Add template render for extraVolumeMounts (#8355) 2021-12-10 11:08:12 +01:00
bbaudelet
0404b1aa52 [bitnami/cassandra,etcd,influxdb,metallb,mysql,postgresql,postgresql-ha,redis] Align networkpolicy (#8336) 2021-12-09 13:01:40 +01:00
Joey Vano
e2404c63cc [bitnami/postgresql] add common labels (#7952)
* [bitnami/postgresql] add commonLabels

* [bitnami/postgresql] update chart minor version

* [bitnami/postgresql] bump version

Co-authored-by: Joseph Vano <jvano@ea.com>
2021-10-28 12:52:28 +02:00
Pablo Galego
035d926d45 [bitnami/*] Mark PodSecurityPolicy resources as deprecated (#7951)
* [bitnami/postgresql-ha] Mark PSP as deprecated

* [bitnami/postgresql] Mark PSP as deprecated

* [bitnami/redis-cluster] Mark PSP as deprecated

* [bitnami/redis] Mark PSP as deprecated

* [bitnami/thanos] Mark PSP as deprecated

* [bitnami/wavefront] Mark PSP as deprecated

* [bitnami/thanos] Update README

* [bitnami/thanos] Fix linting issues
2021-10-28 09:27:59 +02:00
bbaudelet
9a5a9f3e1c [bitnami/postgresql] Add template render for labels on primary and readreplicas (#7908)
* [bitnami/postgresql] Add template render for labels on primary and readreplicas

* [bitnami/postgresql] Add template render for labels on primary and readreplicas

* [bitnami/postgresql] bump chart versiopn
2021-10-27 11:06:07 +02:00
Carlos Rodríguez Hernández
a6751cdd33 [bitnami/several] Add chart info to NOTES.txt (#7889) 2021-10-22 16:04:39 +02:00
Carlos Rodríguez Hernández
9711a33c6e [bitnami/several] Change pullPolicy for bitnami-shell image (#7852)
* [bitnami/several] Change pullPolicy for bitnami-shell image
* Add rolling tag check in the NOTES.txt
* Fix non-standard names
* Use macro when defined
* Update Chart.yaml
* Fix typo
2021-10-19 14:38:37 +02:00
Quan TRAN
e3a8529be0 [bitnami/apache,tomcat] add extraPodSpec (#7580)
Signed-off-by: Quan TRAN <account@itscaro.me>
2021-09-29 09:44:30 +02:00
Quan TRAN
557bfe931a [bitnami/apache,postgresql,tomcat] add topologySpreadConstraints (#7598)
Signed-off-by: Quan TRAN <account@itscaro.me>
2021-09-27 10:00:47 +02:00
bbaudelet
c4c408257c [bitnami/postgresql, zookeeper] Modify extravolumes and integrate sidecars (#7555)
* Update servicemonitor.yaml

Add template render for .Values.metrics.serviceMonitor.additionalLabels

* [bitnami/postgresql]

add template render for .Values.primary.extraVolumes

* [bitnami/postgresql]

Add template render for .Values.readReplicas.extraVolumes

* [bitnami/postgresql]

Update documentation about new value evaluated as a template (primary.extraVolumes, readReplicas.extraVolumes and metrics.serviceMonitor.additionalLabels).

* [bitnami/postgres]

Bump chart version

* [bitnami/zookeeper] Update ExtraVolumes as template render, add sidecar to POD and ZOO_LOG4J_PROP environment variables

* [bitnami/postgresql] Remove information (value evaluated as a template) from README.md

* [bitnami/zookeeper] Remove information to Readme, empty space at end of the line 294 bitnami/zookeeper/templates/statefulset.yaml and move comment on values

* [bitnami/zookeeper] Bump zookeeper chart version

* [bitnbami/zookeeper] Fix missnaming and nexw line on values and Fix README

* [bitnbami/postgresql] Fix README

* [bitnbami/postgresql] Fix README

* [bitnbami/postgresql] Bump postgresql version

* Update Chart.yaml

Include new line at the end of the file

Co-authored-by: baudelet <bbaudelet.soprasteria@lfdj.com>
Co-authored-by: alvneiayu <alvaron@vmware.com>
2021-09-24 13:44:58 +02:00
Michael Kriese
553182ee27 [bitnami/postgresql] add externalTrafficPolicy to service type LoadBalancer (#7490)
* [bitnami/postgresql] add `externalTrafficPolicy` to service type `LoadBalancer`
* fix: wrong config
2021-09-16 08:56:16 +01:00
Paul Brissaud
481cc7edf7 [bitnami/postgresql] Add relabelings / metricRelabelings to ServiceMonitor (#7082)
* [bitnami/postgres]  Add relabelings / metricRelabelings to ServiceMonitor

* fix:  rename value in README

* Update bitnami/postgresql/README.md

Co-authored-by: Alejandro Moreno <alemorcuq@gmail.com>

* fix: typo in metadata

Co-authored-by: Alejandro Moreno <alemorcuq@gmail.com>
2021-08-02 12:32:35 +02:00
Carlos Rodríguez Hernández
f1344b0361 [bitnami/several] Add diagnostic mode (#7012)
* Rebase master

* Fix typo in statefulset

* Include lifecycle in the if statement

* Include metrics container

* Update README

* Rebase master

* Rebase master

* Rebase master

* Add diagnostic mode to etcd

* Add diagnostic mode to fluentd

* Add diagnostic mode to grafana-tempo

* Add diagnostic mode to haproxy

* Rebase master

* Fix values location and README

* Add diagnostic mode to the scaffolding

* Add diagnostic mode to kafka

* Add diagnostic mode to kong

* Fix linter in ejbca

* Add diagnostic mode to logstash

* Add diagnostic mode to mariadb

* Add diagnostic mode to mongodb-sharded

* Fix BITNAMI_DEBUG in galera

* Add diagnostic mode to mysql

* Add diagnostic mode to nats

* Add diagnostic mode to postgresql

* Add diagnostic mode to rabbitmq

* Add diagnostic mode to redis-cluster

* Add diagnostic mode to spark

* Add diagnostic mode to wordpress

* Add diagnostic mode to zookeeper

* Fix/Add BITNAMI_DEBUG in kong, nats, and spark

* Update READMEs

* Unify 'Please be patient...' sentence in NOTES

* Bump galera version
2021-07-27 13:10:01 +02:00
David Dieulivol
e631584fe4 [bitnami/postgresql] Add lifecycleHooks value to the postgresql chart (#7055)
* Add a preStop hook command to the postgreSQL chart

* add lifecycleHooks value for postgreSQL chart

* Fix chart version
2021-07-27 12:20:40 +02:00
deef
3d76ba751a [bitnami/postgresql] Add option to create services for each read replica (#6990)
* [bitnami/postgresql] Add option to create services for each read replica

Adds option to disable the service that connects to all read replicas.
Read-Replica unique services do not have options for LoadBalancers, Node Ports, or Setting ClusterIP.
Fixes bitnami/charts#6954

* [bitnami/postgresql] Update values.yaml comments

Added proper comments so that replication.singleService and replication.uniqueServices are bitnami-labs/readme-generator-for-helm compatible

* [bitnami/postgresql] remove unused varaibles

* [bitnami/postgresql] delete test file

* [bitnami/postgresql] bump chart version

Co-authored-by: Javier J. Salmerón-García <jsalmeron@bitnami.com>
2021-07-21 09:37:38 +02:00
Jorik Jonker
3a6043706e [bitnami/postgresql] disable automounting of service account token (#6967)
It disables the automounting of the service account token in the pod.
PostgreSQL does not need this. By disabling the automount, potential
attackers cannot access the Kubernetes API on behalf/through the pod.

This commit disables it by default, but leaves it configurable if anyone
needs to use it.

Signed-off-by: Jorik Jonker <jorik.jonker@eu.equinix.com>
2021-07-19 10:06:37 +02:00
alvneiayu
112db1c509 [bitnami/postgresql] Add support for autogenerated certs (#6609)
* [bitnami/postgresql] Add support for autogenerated certs

* Modify properly the mariadb-galera version

* Include changes requested
2021-06-14 17:48:50 +02:00
Cédric de Saint Martin
1dbd2a2038 [bitnami/postgresql] SHM: remove size limit on the emptyDir. (#6232)
The size of this emptyDir in memory flavor will count against your container's memory limit, so no need to have a separate limit.
A lot of parallel queries on huge workloads can be greater than 1GB.
2021-04-29 09:40:50 +02:00
Lucas Hahn
c572e0be84 [bitnami/postgresql] Fix postgresql.conf generation from values (#5865) 2021-04-01 11:28:05 +02:00
Marco Kilchhofer
db08f68c1b [bitnami/postgresql] Don't put postgresql-postgres-password in secret when not needed (#5635)
* Don't put postgresql-postgres-password in secret when not needed

When only using the "postgres" user, the secret gets updated every helm upgrade with a
random string. When using with argocd (and maybe other gitops tools) there are always
changes until you put a dummy value into postgresqlPostgresPassword.

Use the same conditional as in statefulset.yaml:
~~~
{{- if not (eq (include "postgresql.username" .) "postgres")  }}
  # (..)
- name: POSTGRES_POSTGRES_PASSWORD
  valueFrom:
    secretKeyRef:
      name: {{ template "postgresql.secretName" . }}
      key: postgresql-postgres-password
{{- end }}
{{- end }}
~~~

* Use same conditional for readreplicas

In PR #4380 we forgot to also change the 2nd statefulset for the readreplicas
2021-03-03 12:24:44 +01:00
Juan Ariza Toledano
71fb99f541 [bitnami/*] Use common macro to define RBAC apiVersion (#5585) 2021-02-22 17:37:32 +01:00
Michael Wei
a334a133ba add template postgresql.name (#5489) 2021-02-15 09:43:45 +01:00
Michael Kriese
bc9ad41dfc [bitnami/postgresql] add optional startup probe to postgresql (#5445)
* feat: add optional startup probe to postgresql

* chore: fix lint

* Update README.md

* Update values.yaml

Co-authored-by: Andrés Bono <andresbono@vmware.com>
2021-02-11 13:58:13 +01:00
hanzala1234
fc694c5095 [bitnami/Postgresql] Add explicit namespace field on resources (#5333)
* Update configmap.yaml

* Update extended-config-configmap.yaml

* Update initialization-configmap.yaml

* Update metrics-configmap.yaml

* Update metrics-svc.yaml

* Update networkpolicy.yaml

* Update podsecuritypolicy.yaml

* Update role.yaml

* Update rolebinding.yaml

* Update secrets.yaml

* Update serviceaccount.yaml

* Update statefulset-readreplicas.yaml

* Update statefulset.yaml

* Update svc-headless.yaml

* Update svc-read.yaml

* Update svc.yaml

* Update chart version
2021-01-29 15:37:28 +01:00
Francisco de Paz Galán
09249d3ebf [bitnami/postgresql] Fix value KeepalivesCount typo (#5171)
Signed-off-by: fdepaz <fdepaz@bitnami.com>
2021-01-22 10:43:32 +01:00
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