From c477843d460a843967cd354b4d55b03ed430f794 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Thu, 30 May 2024 19:47:20 -0500 Subject: [PATCH] Update TM DB config - prod --- values.production.template.yaml | 48 ++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/values.production.template.yaml b/values.production.template.yaml index b3f50c48..cec4e82b 100644 --- a/values.production.template.yaml +++ b/values.production.template.yaml @@ -483,27 +483,33 @@ osm-seed: # Variables for Tasking Manager DB # ==================================================================================================== tmDb: - enabled: false - image: - name: "postgres" - tag: "11" - nodeSelector: - enabled: false - label_key: nodegroup_type - label_value: web - env: - POSTGRES_DB: tm - POSTGRES_PASSWORD: {{PRODUCTION_TM_DB_PASSWORD}} - POSTGRES_USER: postgres - resources: - enabled: false - requests: - memory: "1Gi" - cpu: "2" - limits: - memory: "2Gi" - cpu: "2" - + enabled: true + image: + name: "postgis/postgis" + tag: "11-2.5" + nodeSelector: + enabled: true + label_key: nodegroup_type + label_value: web + env: + POSTGRES_DB: tm + POSTGRES_PASSWORD: {{PRODUCTION_TM_DB_PASSWORD}} + POSTGRES_USER: postgres + persistenceDisk: + enabled: true + accessMode: ReadWriteOnce + mountPath: /var/lib/postgresql/data + subPath: postgresql-d + AWS_ElasticBlockStore_volumeID: vol-0206da39f75238e68 + AWS_ElasticBlockStore_size: 50Gi + resources: + enabled: false + requests: + memory: "1Gi" + cpu: "2" + limits: + memory: "2Gi" + cpu: "2" # ==================================================================================================== # Variables for Tasking Manager API # ====================================================================================================