From 3dd494e8dcaccc26f2c416a4444e979592c0eae3 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Sun, 19 May 2024 11:57:34 -0600 Subject: [PATCH] fix(postgres-helm-compat): Build with the latest version of PostgreSQL (#2609) Previously, this was pinned to PostgreSQL 15. Build with the latest release from here on out Signed-off-by: RJ Sampson --- images/postgres-helm-compat/main.tf | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/images/postgres-helm-compat/main.tf b/images/postgres-helm-compat/main.tf index 8be4796096..f22af492bf 100644 --- a/images/postgres-helm-compat/main.tf +++ b/images/postgres-helm-compat/main.tf @@ -8,21 +8,16 @@ variable "target_repository" { description = "The docker repo into which the image and attestations should be published." } -locals { - # TODO: Define a virtual postgres package - version = "15" -} - module "latest-config" { source = "./config" extra_packages = [ - "postgresql-${local.version}", - "postgresql-${local.version}-client", - "postgresql-${local.version}-oci-entrypoint", - "postgresql-${local.version}-contrib", - "postgresql-${local.version}-bitnami-compat", - "libpq-${local.version}", + "postgresql", + "postgresql-client", + "postgresql-oci-entrypoint", + "postgresql-contrib", + "postgresql-bitnami-compat", + "libpq", ] }