Skip to content

Commit

Permalink
Merge pull request #40 from pagopa/fix-prod-helm-cfg
Browse files Browse the repository at this point in the history
Fix prod helm cfg
  • Loading branch information
aomegax authored Jan 29, 2024
2 parents 0905071 + b9a281b commit 8b4708a
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-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:
Expand Down
9 changes: 5 additions & 4 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-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:
Expand All @@ -27,7 +27,7 @@ microservice-chart: &microservice-chart
memory: "512Mi"
cpu: "0.25"
limits:
memory: "6G"
memory: "8G"
cpu: "2.5"
envConfig: &envConfig
ENV: "prod"
Expand Down Expand Up @@ -65,7 +65,7 @@ microservice-chart: &microservice-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
Expand All @@ -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:
Expand All @@ -98,7 +99,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"
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart: &microservice-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:
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_fdrv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_nodev1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi_verifierv1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>it.gov.pagopa.api-config</groupId>
<artifactId>cache</artifactId>
<version>0.8.6</version>
<version>0.8.6-1-fix-prod-helm-cfg</version>
<name>API-Config Cacher</name>
<description>Generate cache for regarding Nodo dei Pagamenti configuration</description>

Expand Down

0 comments on commit 8b4708a

Please sign in to comment.