From 99368fcea5679e3b9546359f88fe3910a845c5e9 Mon Sep 17 00:00:00 2001 From: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com> Date: Wed, 2 Oct 2024 16:41:28 -0700 Subject: [PATCH] Pin postgres image tag version to 16 (#3172) --- pkg/app/postgresql.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/app/postgresql.go b/pkg/app/postgresql.go index 5e504f8141..26a2e9e994 100644 --- a/pkg/app/postgresql.go +++ b/pkg/app/postgresql.go @@ -41,7 +41,7 @@ type PostgresDB struct { } // NewPostgresDB initialises an instance of Postgres DB -// Last tested chart version "10.12.3". Also, we are using postgres version 13.4 +// Last tested chart version "15.5.38". Also, we are using postgres version 16 func NewPostgresDB(name string, subPath string) App { return &PostgresDB{ name: name, @@ -62,6 +62,10 @@ func NewPostgresDB(name string, subPath string) App { "primary.containerSecurityContext.capabilities.add[1]": "FOWNER", "primary.containerSecurityContext.capabilities.add[2]": "DAC_OVERRIDE", "primary.containerSecurityContext.readOnlyRootFilesystem": "false", + // Update manually whenever a new version is release. + // TODO: Automate the update process for the image tag. + "image.repository": "postgres", + "image.tag": "16-bullseye", }, }, }