From 9aca4ebbc89c4a7338dd25051c3fd21dc47e6eb0 Mon Sep 17 00:00:00 2001 From: 42Atomys Date: Sun, 23 Jul 2023 21:59:24 +0200 Subject: [PATCH] revert: postgres upgrade to version 15 rollbacked to 14.8 --- .devcontainer/docker-compose.yaml | 2 +- build/packages/postgres/Dockerfile | 2 +- deploy/stacks/apps/s42/storages.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.devcontainer/docker-compose.yaml b/.devcontainer/docker-compose.yaml index 64fbda15..c7aeee93 100644 --- a/.devcontainer/docker-compose.yaml +++ b/.devcontainer/docker-compose.yaml @@ -50,7 +50,7 @@ services: database: hostname: s42-database - image: ghcr.io/42atomys/s42-postgres:15.3-alpine3.18 + image: ghcr.io/42atomys/s42-postgres:14.8-alpine3.18 restart: unless-stopped volumes: - postgres-data:/var/lib/postgresql/data diff --git a/build/packages/postgres/Dockerfile b/build/packages/postgres/Dockerfile index 2f4889fc..b996232c 100644 --- a/build/packages/postgres/Dockerfile +++ b/build/packages/postgres/Dockerfile @@ -1,4 +1,4 @@ -ARG PACKAGE_VERSION=15.3-alpine3.18 +ARG PACKAGE_VERSION=14.8-alpine3.18 FROM postgres:${PACKAGE_VERSION} diff --git a/deploy/stacks/apps/s42/storages.tf b/deploy/stacks/apps/s42/storages.tf index fd2c33ea..576a041c 100644 --- a/deploy/stacks/apps/s42/storages.tf +++ b/deploy/stacks/apps/s42/storages.tf @@ -110,10 +110,10 @@ module "postgres" { kind = "StatefulSet" appName = "postgres" - appVersion = "15.3" + appVersion = "14.8" name = "postgres" namespace = var.namespace - image = "ghcr.io/42atomys/s42-postgres:15.3-alpine3.18" + image = "ghcr.io/42atomys/s42-postgres:14.8-alpine3.18" imagePullPolicy = "IfNotPresent" nodeSelector = local.nodepoolSelector["storages"]