From 0c2fe137e42a7dd3e4d97e407301553efe52c7f7 Mon Sep 17 00:00:00 2001 From: Francesco Cesareo Date: Tue, 12 Dec 2023 17:54:52 +0100 Subject: [PATCH 1/3] improvements prod --- helm/values-prod.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 66b3140b..fc324cdc 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -27,7 +27,7 @@ microservice-chart: µservice-chart memory: "512Mi" cpu: "0.25" limits: - memory: "6G" + memory: "8G" cpu: "2.5" envConfig: &envConfig ENV: "prod" @@ -65,7 +65,7 @@ microservice-chart: µservice-chart podAffinityTerm: labelSelector: matchLabels: - app.kubernetes.io/instance: "pagopa-api-config-cache-postgresql" + app.kubernetes.io/instance: "cache" namespaces: ["apiconfig"] topologyKey: topology.kubernetes.io/zone # Configuration used to update image tag @@ -98,7 +98,7 @@ oracle: DB_CONFIG_URL: "jdbc:oracle:thin:@db-nodo-pagamenti.p.db-nodo-pagamenti.com:1521/NDPSPCP_NODO4_CFG" DB_CONFIG_USER: "NODO4_CFG" DB_CONFIG_DRIVER: "oracle.jdbc.OracleDriver" - JAVA_OPTS: "-Dspring.jpa.show-sql=false -XX:MaxHeapSize=4g" + JAVA_OPTS: "-Dspring.jpa.show-sql=false -XX:MaxHeapSize=6g" DATABASE_ID: "o" IN_PROGRESS_TTL: "20" HEALTHCHECK_QUERY: "select 1 from dual" From e99c45be4a55bdb52a2dbe7de63ba68af5be6781 Mon Sep 17 00:00:00 2001 From: Francesco Cesareo Date: Tue, 12 Dec 2023 17:55:31 +0100 Subject: [PATCH 2/3] improvements prod --- helm/values-prod.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index fc324cdc..8898559c 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -82,6 +82,7 @@ postgresql: DB_CONFIG_DRIVER: "org.postgresql.Driver" DATABASE_ID: "p" HEALTHCHECK_QUERY: "select 1" + JAVA_OPTS: "-Dspring.jpa.show-sql=false" secretProvider: !!merge <<: *azureSecretProvider envSecrets: From b9a281b80a703c4ecd7bd6b0dfe2b90f8e437c4e Mon Sep 17 00:00:00 2001 From: pagopa-github-bot Date: Tue, 12 Dec 2023 16:57:18 +0000 Subject: [PATCH 3/3] Bump to version 0.8.6-1-fix-prod-helm-cfg [skip ci] --- helm/Chart.yaml | 4 ++-- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- openapi/openapi.json | 2 +- openapi/openapi_fdrv1.json | 2 +- openapi/openapi_nodev1.json | 2 +- openapi/openapi_verifierv1.json | 2 +- pom.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 5bbae532..38cec715 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pagopa-api-cache-chart description: Microservice that handles calculation for pagoPA Advanced Fees Management type: application -version: 0.13.0 +version: 0.14.0 dependencies: - name: microservice-chart version: 3.0.0 @@ -24,4 +24,4 @@ dependencies: repository: "https://pagopa.github.io/aks-microservice-chart-blueprint" alias: oracleprod condition: oracleprod.enabled -appVersion: 0.8.6 +appVersion: 0.8.6-1-fix-prod-helm-cfg diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 3266f02a..9e979205 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -2,7 +2,7 @@ microservice-chart: µservice-chart namespace: "apiconfig" image: repository: ghcr.io/pagopa/pagopa-api-config-cache - tag: 0.8.6 + tag: 0.8.6-1-fix-prod-helm-cfg canaryDelivery: deployment: image: diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 8898559c..be252644 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -2,7 +2,7 @@ microservice-chart: µservice-chart namespace: "apiconfig" image: repository: ghcr.io/pagopa/pagopa-api-config-cache - tag: 0.8.6 + tag: 0.8.6-1-fix-prod-helm-cfg canaryDelivery: deployment: image: diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 4c2a46a7..5f38125f 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -2,7 +2,7 @@ microservice-chart: µservice-chart namespace: "apiconfig" image: repository: ghcr.io/pagopa/pagopa-api-config-cache - tag: 0.8.6 + tag: 0.8.6-1-fix-prod-helm-cfg canaryDelivery: deployment: image: diff --git a/openapi/openapi.json b/openapi/openapi.json index 2c582325..644aecb8 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -4,7 +4,7 @@ "title": "API-Config Cacher", "description": "Generate cache for regarding Nodo dei Pagamenti configuration", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.8.6" + "version": "0.8.6-1-fix-prod-helm-cfg" }, "servers": [ { diff --git a/openapi/openapi_fdrv1.json b/openapi/openapi_fdrv1.json index 26e5173a..166dbf75 100644 --- a/openapi/openapi_fdrv1.json +++ b/openapi/openapi_fdrv1.json @@ -4,7 +4,7 @@ "title": "API-Config Cacher", "description": "Generate cache for regarding Nodo dei Pagamenti configuration", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.8.6" + "version": "0.8.6-1-fix-prod-helm-cfg" }, "servers": [ { diff --git a/openapi/openapi_nodev1.json b/openapi/openapi_nodev1.json index cfac9bb2..834685a2 100644 --- a/openapi/openapi_nodev1.json +++ b/openapi/openapi_nodev1.json @@ -4,7 +4,7 @@ "title": "API-Config Cacher", "description": "Generate cache for regarding Nodo dei Pagamenti configuration", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.8.6" + "version": "0.8.6-1-fix-prod-helm-cfg" }, "servers": [ { diff --git a/openapi/openapi_verifierv1.json b/openapi/openapi_verifierv1.json index 4c44c91f..865c1f5e 100644 --- a/openapi/openapi_verifierv1.json +++ b/openapi/openapi_verifierv1.json @@ -4,7 +4,7 @@ "title": "API-Config Cacher", "description": "Generate cache for regarding Nodo dei Pagamenti configuration", "termsOfService": "https://www.pagopa.gov.it/", - "version": "0.8.6" + "version": "0.8.6-1-fix-prod-helm-cfg" }, "servers": [ { diff --git a/pom.xml b/pom.xml index cefe1f87..d2c8c75b 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ it.gov.pagopa.api-config cache - 0.8.6 + 0.8.6-1-fix-prod-helm-cfg API-Config Cacher Generate cache for regarding Nodo dei Pagamenti configuration