From 0547aecddb50f6252b04853f2dcb586b4b7ceb1f Mon Sep 17 00:00:00 2001 From: stormeye2000 Date: Wed, 28 Feb 2024 21:06:21 +0000 Subject: [PATCH] reduce store api cpu usage --- store-api/deploy/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/store-api/deploy/deployment.yaml b/store-api/deploy/deployment.yaml index fe9b9b2..417ca15 100644 --- a/store-api/deploy/deployment.yaml +++ b/store-api/deploy/deployment.yaml @@ -22,6 +22,12 @@ spec: name: store-api ports: - containerPort: 8080 + env: + - name: POSTGRES_PASSWORD + valueFrom: + secretKeyRef: + key: superUserPassword + name: postgres-secret resources: requests: memory: "0.5Gi"