From b19d00595ebaff76d0f00976eb19a5fa68cd2e4d Mon Sep 17 00:00:00 2001 From: frtrinca Date: Wed, 29 Nov 2023 10:53:52 +0100 Subject: [PATCH] [IDP-901] Update helm config --- helm/Chart.lock | 6 +++--- helm/Chart.yaml | 2 +- helm/values-dev.yaml | 2 +- helm/values-prod.yaml | 2 +- helm/values-uat.yaml | 2 +- helm/values.yaml | 10 ++++++++-- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/helm/Chart.lock b/helm/Chart.lock index 00827f96..0de02e6c 100644 --- a/helm/Chart.lock +++ b/helm/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: microservice-chart repository: https://pagopa.github.io/aks-microservice-chart-blueprint - version: 2.8.0 -digest: sha256:379d9a7c312874dd1771386d92d8f597cb3fed497bb80dfde102513b582123d4 -generated: "2023-09-05T10:18:40.513777+02:00" + version: 5.0.0 +digest: sha256:acce690c924529c84ccd541dd046bf2fa8e6d379d0bfe6f2e200d95466cdb253 +generated: "2023-11-29T10:53:28.3550118+01:00" diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 223adaf7..2c4e83c1 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -6,5 +6,5 @@ version: 1.0.0 appVersion: 1.0.0 dependencies: - name: microservice-chart - version: 2.8.0 + version: 5.0.0 repository: "https://pagopa.github.io/aks-microservice-chart-blueprint" diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 24ea570f..e6930a1e 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -37,7 +37,7 @@ microservice-chart: tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" envConfig: - JAVA_TOOL_OPTIONS: "-Xms128m -Xmx4g -javaagent:/app/applicationinsights-agent.jar -agentlib:jdwp=transport=dt_socket,server=y,address=8001,suspend=n -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3002 -Dcom.sun.management.jmxremote.rmi.port=3003 -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + JAVA_TOOL_OPTIONS: "-Xms128m -Xmx4g -Djava.util.concurrent.ForkJoinPool.common.parallelism=7 -Dio.netty.eventLoopThreads=100 -javaagent:/app/applicationinsights-agent.jar -Dapplicationinsights.configuration.file=/mnt/file-config-external/appinsights-config/applicationinsights.json -agentlib:jdwp=transport=dt_socket,server=y,address=8001,suspend=n -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3002 -Dcom.sun.management.jmxremote.rmi.port=3003 -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" CACHE_REFRESH_MS_RATE: "60000" REDIS_CACHE_ENABLED: "true" diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 3995ebbe..20fc9e60 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -36,7 +36,7 @@ microservice-chart: tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" envConfig: - JAVA_TOOL_OPTIONS: "-Xms128m -Xmx4g -javaagent:/app/applicationinsights-agent.jar" + JAVA_TOOL_OPTIONS: "-Xms128m -Xmx4g -Djava.util.concurrent.ForkJoinPool.common.parallelism=7 -Dio.netty.eventLoopThreads=100 -javaagent:/app/applicationinsights-agent.jar -Dapplicationinsights.configuration.file=/mnt/file-config-external/appinsights-config/applicationinsights.json" CACHE_REFRESH_MS_RATE: "60000" REDIS_CACHE_ENABLED: "true" diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 080bbb51..6aaf1545 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -38,7 +38,7 @@ microservice-chart: tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" envConfig: - JAVA_TOOL_OPTIONS: "-Xms128m -Xmx4g -javaagent:/app/applicationinsights-agent.jar -agentlib:jdwp=transport=dt_socket,server=y,address=8001,suspend=n -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=3002 -Dcom.sun.management.jmxremote.rmi.port=3003 -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false" + JAVA_TOOL_OPTIONS: '-Xms128m -Xmx4g -javaagent:/app/applicationinsights-agent.jar -Dapplicationinsights.configuration.file=/mnt/file-config-external/appinsights-config/applicationinsights.json' CACHE_REFRESH_MS_RATE: "10000" REDIS_CACHE_ENABLED: "true" diff --git a/helm/values.yaml b/helm/values.yaml index aa786ebf..c01f2445 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -65,7 +65,7 @@ microservice-chart: DELETE_PAGINATION_SIZE: "60" DELETE_DELAY_TIME: "1000" - envConfigMapExternals: + externalConfigMapValues: idpay-common: TZ: TZ idpay-eventhub-00: @@ -107,4 +107,10 @@ microservice-chart: # tolerations: [] - # affinity: {} \ No newline at end of file + # affinity: {} + + externalConfigMapFiles: + create: true + configMaps: + - name: appinsights-config + key: applicationinsights.json \ No newline at end of file