Skip to content

Commit

Permalink
Pin postgres image tag version to 16 (#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored Oct 2, 2024
1 parent 6266802 commit 99368fc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/app/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
},
},
}
Expand Down

0 comments on commit 99368fc

Please sign in to comment.