Skip to content

Commit

Permalink
[PPANTT-161] chore: Update helm
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant committed Nov 5, 2024
1 parent 9c402fd commit af0358f
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 23 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: pagopa-functions-template
description: Microservice description
name: pagopagpdingestionmanager
description: Microservice to tokenize eventhub msg
type: application
version: 0.0.1
appVersion: 0.0.1
Expand Down
29 changes: 22 additions & 7 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
microservice-chart:
namespace: "<namespace>" # TODO
namespace: "gpd"
nameOverride: ""
fullnameOverride: ""
image:
repository: pagopadcommonacr.azurecr.io/pagopa<project-name> # TODO
repository: ghcr.io/pagopa/pagopa-gpd-ingestion-manager
tag: "0.0.1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
Expand All @@ -29,8 +29,8 @@ microservice-chart:
port: 80
ingress:
create: true
host: "weudev.<namespace>.internal.dev.platform.pagopa.it" # TODO
path: /pagopa-<project-name>-service/(.*) # TODO
host: "weudev.gpd.internal.dev.platform.pagopa.it"
path: /pagopa-gpd-ingestion-manager/(.*) #
serviceAccount:
create: false
annotations: {}
Expand Down Expand Up @@ -61,12 +61,27 @@ microservice-chart:
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
envConfig:
WEBSITE_SITE_NAME: "pagopa<project-name>" # required to show cloud role name in application insights # TODO
WEBSITE_SITE_NAME: "pagopagpdingestionmanager" # required to show cloud role name in application insights
FUNCTIONS_WORKER_RUNTIME: "java"
PDV_TOKENIZER_BASE_PATH: "https://api.uat.tokenizer.pdv.pagopa.it/tokenizer/v1"
PDV_TOKENIZER_INITIAL_INTERVAL: "200"
PDV_TOKENIZER_MULTIPLIER: "2.0"
PDV_TOKENIZER_RANDOMIZATION_FACTOR: "0.6"
PDV_TOKENIZER_MAX_RETRIES: "3"
ENABLE_ECS_CONSOLE: "true"
CONSOLE_LOG_THRESHOLD: "DEBUG"
CONSOLE_LOG_PATTERN: "%d{HH:mm:ss.SSS}[%thread]%-5level%logger{36}-%msg%n"
CONSOLE_LOG_CHARSET: "UTF-8"
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string' # TODO set in kv
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-p-connection-string' # TODO set in kv
PAYMENT_POSITION_INPUT_EVENTHUB_CONN_STRING: "payment-position-topic-input-conn-string"
PAYMENT_POSITION_OUTPUT_EVENTHUB_CONN_STRING: "payment-position-topic-output-conn-string"
PDV_TOKENIZER_SUBSCRIPTION_KEY: "tokenizer-api-key"
keyvault:
name: "pagopa-d-<namespace>-kv" # TODO
name: "pagopa-d-gps-kv"
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
Expand Down
29 changes: 22 additions & 7 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
microservice-chart:
namespace: "<namespace>" # TODO
namespace: "gpd"
nameOverride: ""
fullnameOverride: ""
image:
repository: pagopapcommonacr.azurecr.io/pagopa<project-name> # TODO
repository: ghcr.io/pagopa/pagopa-gpd-ingestion-manager
tag: "0.0.1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
Expand All @@ -29,8 +29,8 @@ microservice-chart:
port: 80
ingress:
create: true
host: "weuprod.<namespace>.internal.platform.pagopa.it" # TODO
path: /pagopa-<project-name>-service/(.*) # TODO
host: "weuprod.gpd.internal.platform.pagopa.it"
path: /pagopa-gpd-ingestion-manager/(.*)
serviceAccount:
create: false
annotations: {}
Expand Down Expand Up @@ -61,12 +61,27 @@ microservice-chart:
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
envConfig:
WEBSITE_SITE_NAME: "pagopa<project-name>" # required to show cloud role name in application insights # TODO
WEBSITE_SITE_NAME: "pagopagpdingestionmanager" # required to show cloud role name in application insights
FUNCTIONS_WORKER_RUNTIME: "java"
PDV_TOKENIZER_BASE_PATH: "https://api.tokenizer.pdv.pagopa.it/tokenizer/v1"
PDV_TOKENIZER_INITIAL_INTERVAL: "200"
PDV_TOKENIZER_MULTIPLIER: "2.0"
PDV_TOKENIZER_RANDOMIZATION_FACTOR: "0.6"
PDV_TOKENIZER_MAX_RETRIES: "3"
ENABLE_ECS_CONSOLE: "true"
CONSOLE_LOG_THRESHOLD: "DEBUG"
CONSOLE_LOG_PATTERN: "%d{HH:mm:ss.SSS}[%thread]%-5level%logger{36}-%msg%n"
CONSOLE_LOG_CHARSET: "UTF-8"
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string' # TODO set in kv
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-p-connection-string' # TODO set in kv
PAYMENT_POSITION_INPUT_EVENTHUB_CONN_STRING: "payment-position-topic-input-conn-string"
PAYMENT_POSITION_OUTPUT_EVENTHUB_CONN_STRING: "payment-position-topic-output-conn-string"
PDV_TOKENIZER_SUBSCRIPTION_KEY: "tokenizer-api-key"
keyvault:
name: "pagopa-p-<namespace>-kv" # TODO
name: "pagopa-p-gps-kv"
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
Expand Down
29 changes: 22 additions & 7 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
microservice-chart:
namespace: "<namespace>" # TODO
namespace: "gpd"
nameOverride: ""
fullnameOverride: ""
image:
repository: pagopaucommonacr.azurecr.io/pagopa<project-name> # TODO
repository: ghcr.io/pagopa/pagopa-gpd-ingestion-manager
tag: "0.0.1"
pullPolicy: Always
# https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Controllers/HostController.cs
Expand All @@ -29,8 +29,8 @@ microservice-chart:
port: 80
ingress:
create: true
host: "weuuat.<namespace>.internal.uat.platform.pagopa.it" # TODO
path: /pagopa-<project-name>-service/(.*) # TODO
host: "weuuat.gpd.internal.uat.platform.pagopa.it"
path: /pagopa-gpd-ingestion-manager/(.*)
serviceAccount:
create: false
annotations: {}
Expand Down Expand Up @@ -61,12 +61,27 @@ microservice-chart:
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
envConfig:
WEBSITE_SITE_NAME: "pagopa<project-name>" # required to show cloud role name in application insights # TODO
WEBSITE_SITE_NAME: "pagopagpdingestionmanager" # required to show cloud role name in application insights
FUNCTIONS_WORKER_RUNTIME: "java"
PDV_TOKENIZER_BASE_PATH: "https://api.uat.tokenizer.pdv.pagopa.it/tokenizer/v1"
PDV_TOKENIZER_INITIAL_INTERVAL: "200"
PDV_TOKENIZER_MULTIPLIER: "2.0"
PDV_TOKENIZER_RANDOMIZATION_FACTOR: "0.6"
PDV_TOKENIZER_MAX_RETRIES: "3"
ENABLE_ECS_CONSOLE: "true"
CONSOLE_LOG_THRESHOLD: "DEBUG"
CONSOLE_LOG_PATTERN: "%d{HH:mm:ss.SSS}[%thread]%-5level%logger{36}-%msg%n"
CONSOLE_LOG_CHARSET: "UTF-8"
envFieldRef:
APP_NAME: "metadata.labels['app.kubernetes.io/instance']"
APP_VERSION: "metadata.labels['app.kubernetes.io/version']"
envSecret:
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string' # TODO set in kv
APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-u-connection-string' # TODO set in kv
PAYMENT_POSITION_INPUT_EVENTHUB_CONN_STRING: "payment-position-topic-input-conn-string"
PAYMENT_POSITION_OUTPUT_EVENTHUB_CONN_STRING: "payment-position-topic-output-conn-string"
PDV_TOKENIZER_SUBSCRIPTION_KEY: "tokenizer-api-key"
keyvault:
name: "pagopa-u-<namespace>-kv" # TODO
name: "pagopa-u-gps-kv"
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
nodeSelector: {}
tolerations: []
Expand Down

0 comments on commit af0358f

Please sign in to comment.