From ed7e58f4b15bd6f3fc76532cee45827aafb31598 Mon Sep 17 00:00:00 2001 From: "Markin, Sergiy (sm515x)" Date: Mon, 19 Sep 2022 17:35:15 -0500 Subject: [PATCH] [postgres] Update postgres to 14.5 Updated postgres binary version to 14.5. Also replaced deprecated config item wal_keep_segments with wal_keep_size. Change-Id: Ie86850f8ebb8bfaae4ba5457409d3920b230ce9c --- postgresql/Chart.yaml | 4 ++-- postgresql/templates/bin/_start.sh.tpl | 2 +- postgresql/values.yaml | 6 +++--- releasenotes/notes/postgresql.yaml | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/postgresql/Chart.yaml b/postgresql/Chart.yaml index 6d52ec027..b9ee4aa1c 100644 --- a/postgresql/Chart.yaml +++ b/postgresql/Chart.yaml @@ -12,10 +12,10 @@ --- apiVersion: v1 -appVersion: v9.6 +appVersion: v14.5 description: OpenStack-Helm PostgreSQL name: postgresql -version: 0.1.17 +version: 0.1.18 home: https://www.postgresql.org sources: - https://github.com/postgres/postgres diff --git a/postgresql/templates/bin/_start.sh.tpl b/postgresql/templates/bin/_start.sh.tpl index 14d56a273..db49a1dea 100644 --- a/postgresql/templates/bin/_start.sh.tpl +++ b/postgresql/templates/bin/_start.sh.tpl @@ -37,4 +37,4 @@ set -x bash /tmp/archive_cleanup.sh & -exec /docker-entrypoint.sh postgres -c config_file=/tmp/postgresql.conf +exec /usr/local/bin/docker-entrypoint.sh postgres -c config_file=/tmp/postgresql.conf diff --git a/postgresql/values.yaml b/postgresql/values.yaml index 1df9275ca..3a077dbb4 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -155,12 +155,12 @@ pod: # using dockerhub postgresql: https://hub.docker.com/r/library/postgres/tags/ images: tags: - postgresql: "docker.io/library/postgres:9.6" + postgresql: "docker.io/library/postgres:14.5" dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0 image_repo_sync: docker.io/library/docker:17.07.0 ks_user: docker.io/openstackhelm/heat:stein-ubuntu_bionic prometheus_postgresql_exporter: docker.io/wrouesnel/postgres_exporter:v0.4.6 - prometheus_postgresql_exporter_create_user: "docker.io/library/postgres:9.5" + prometheus_postgresql_exporter_create_user: "docker.io/library/postgres:14.5" postgresql_backup: "quay.io/airshipit/porthole-postgresql-utility:latest-ubuntu_bionic" pull_policy: "IfNotPresent" local_registry: @@ -309,7 +309,7 @@ conf: timezone: 'UTC' track_commit_timestamp: 'on' track_functions: 'all' - wal_keep_segments: '16' + wal_keep_size: '256' wal_level: 'hot_standby' wal_log_hints: 'on' hba_file: '/tmp/pg_hba.conf' diff --git a/releasenotes/notes/postgresql.yaml b/releasenotes/notes/postgresql.yaml index c0110677a..85bec52b4 100644 --- a/releasenotes/notes/postgresql.yaml +++ b/releasenotes/notes/postgresql.yaml @@ -18,4 +18,5 @@ postgresql: - 0.1.15 Migrated CronJob resource to batch/v1 API version - 0.1.16 Added OCI registry authentication - 0.1.17 Added empty verify_databases_backup_archives() function implementation to match updated backup_databases() function in helm-toolkit + - 0.1.18 Updated postgres to 14.5 and replaced deprecated config item wal_keep_segments with wal_keep_size ...