mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/nessie] fix: 🐛 Add missing reference to POSTGRESQL_PORT in wait-for-db (#27477)
Signed-off-by: Javier Salmeron Garcia jsalmeron@vmware.com Description of the change This commit fixes an issue where the PostgreSQL instance uses a non-standard 5432 port. It was missing a reference to the POSTGRESQL_PORT from libpostgresql.sh --- Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
committed by
GitHub
parent
865e3cd27c
commit
bb85a669cb
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.9 (2024-06-21)
|
||||
## 0.1.10 (2024-06-21)
|
||||
|
||||
* [bitnami/nessie] fix: :bug: Set correct context in HPA and VPA api helper ([#27475](https://github.com/bitnami/charts/pull/27475))
|
||||
* [bitnami/nessie] fix: :bug: Add missing reference to POSTGRESQL_PORT in wait-for-db ([#27477](https://github.com/bitnami/charts/pull/27477))
|
||||
|
||||
## <small>0.1.9 (2024-06-21)</small>
|
||||
|
||||
* [bitnami/nessie] fix: :bug: Set correct context in HPA and VPA api helper (#27475) ([865e3cd](https://github.com/bitnami/charts/commit/865e3cd27cb25fdc012dcc7d968da3e311d9b4d3)), closes [#27475](https://github.com/bitnami/charts/issues/27475)
|
||||
|
||||
## <small>0.1.8 (2024-06-18)</small>
|
||||
|
||||
|
||||
@@ -38,4 +38,4 @@ sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/nessie
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/nessie
|
||||
- https://github.com/nessie/nessie
|
||||
version: 0.1.9
|
||||
version: 0.1.10
|
||||
|
||||
@@ -253,8 +253,10 @@ Return the volume-permissions init container
|
||||
{{- if .Values.usePasswordFile }}
|
||||
export DATABASE_PASSWORD="$(< "/bitnami/nessie/secrets/database/QUARKUS_DATASOURCE_POSTGRESQL_PASSWORD")"
|
||||
{{- end }}
|
||||
info "Waiting for host $DATABASE_HOST"
|
||||
info "Waiting for host $DATABASE_HOST:$DATABASE_PORT_NUMBER"
|
||||
export PGCONNECT_TIMEOUT="5"
|
||||
# Adaptation required by libpostgresql.sh
|
||||
export POSTGRESQL_PORT_NUMBER="$DATABASE_PORT_NUMBER"
|
||||
psql_is_ready() {
|
||||
if ! echo "SELECT 1" | postgresql_execute "$DATABASE_NAME" "$DATABASE_USER" "$DATABASE_PASSWORD" "-h" "$DATABASE_HOST"; then
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user