Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 53 additions & 31 deletions helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,22 @@ microservice-chart: &microservice-chart
memory: "640Mi"
cpu: "0.25"
autoscaling:
enable: true
minReplica: 1
maxReplica: 3
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
- type: cpu
metadata:
# Required
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
- type: memory
metadata:
# Required
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
enable: false
# minReplica: 1
# maxReplica: 3
# pollingInterval: 10 # seconds
# cooldownPeriod: 50 # seconds
# triggers:
# - type: cpu
# metadata:
# # Required
# type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
# value: "75"
# - type: memory
# metadata:
# # Required
# type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
# value: "75"
envConfig: &envConfig
# WEBSITE_SITE_NAME: 'pagopa-api-config-testing-support'
ENV: 'dev'
Expand Down Expand Up @@ -124,18 +124,40 @@ postgresql:
!!merge <<: *envSecret
DB_CONFIG_PASSWORD: "postgresql-db-cfg-password"
postgresql-nexi:
!!merge <<: *microservice-chart
ingress:
!!merge <<: *ingress
path: /api-config-testing-support/pnexi/(.*)
envConfig:
!!merge <<: *envConfig
WEBSITE_SITE_NAME: 'pagopa-api-config-postgres-nexi-testing-support'
OTEL_SERVICE_NAME: "pagopa-api-config-postgres-nexi-testing-support"
DB_CONFIG_URL: "jdbc:postgresql://db-postgres-ndp.d.db-nodo-pagamenti.com:5444/ndpspct?prepareThreshold=0&currentSchema=NODO4_CFG"
DB_CONFIG_USER: "pp_nodo4_cfg"
DB_CONFIG_DRIVER: "org.postgresql.Driver"
HEALTHCHECK_QUERY: "select 1"
envSecret:
!!merge <<: *envSecret
DB_CONFIG_PASSWORD: "db-cfg-password"
enabled: false
# !!merge <<: *microservice-chart
# ingress:
# !!merge <<: *ingress
# path: /api-config-testing-support/pnexi(/|$)(.*)
# envConfig:
# !!merge <<: *envConfig
# WEBSITE_SITE_NAME: 'pagopa-api-config-postgres-nexi-testing-support'
# OTEL_SERVICE_NAME: "pagopa-api-config-postgres-nexi-testing-support"
# DB_CONFIG_URL: "jdbc:postgresql://db-postgres-ndp.d.db-nodo-pagamenti.com:5444/ndpspct?prepareThreshold=0&currentSchema=NODO4_CFG"
# DB_CONFIG_USER: "pp_nodo4_cfg"
# DB_CONFIG_DRIVER: "org.postgresql.Driver"
# HEALTHCHECK_QUERY: "select 1"
# secretProvider:
# !!merge <<: *azureSecretProvider
# envSecrets:
# !!merge <<: *envSecret
# DB_CONFIG_PASSWORD: "db-cfg-password"
oracle:
enabled: false
# !!merge <<: *microservice-chart
# ingress:
# !!merge <<: *ingress
# path: /api-config-testing-support/o(/|$)(.*)
# envConfig:
# !!merge <<: *envConfig
# WEBSITE_SITE_NAME: 'pagopa-api-config-oracle-testing-support'
# OTEL_SERVICE_NAME: "pagopa-api-config-oracle-testing-support"
# DB_CONFIG_URL: "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS=(PROTOCOL=tcp)(PORT=1522)(HOST=db-nodo-pagamenti.d.db-nodo-pagamenti.com))(CONNECT_DATA=(SERVICE_NAME=NDPSPCT_PP_NODO4_CFG))(SO_KEEPALIVE=true)(TCP_KEEPIDLE=60)(TCP_KEEPINTVL=30)(TCP_KEEPCNT=15))"
# DB_CONFIG_USER: "NODO4_CFG"
# DB_CONFIG_DRIVER: "oracle.jdbc.OracleDriver"
# HEALTHCHECK_QUERY: "select 1 from DUAL"
# secretProvider:
# !!merge <<: *azureSecretProvider
# envSecrets:
# !!merge <<: *envSecret
# DB_CONFIG_PASSWORD: 'oracle-db-cfg-password'
22 changes: 11 additions & 11 deletions helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ microservice-chart:
memory: "640Mi"
cpu: "0.25"
autoscaling:
enable: true
minReplica: 1
maxReplica: 2
pollingInterval: 10 # seconds
cooldownPeriod: 50 # seconds
triggers:
- type: cpu
metadata:
# Required
type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
value: "75"
enable: false
# minReplica: 1
# maxReplica: 2
# pollingInterval: 10 # seconds
# cooldownPeriod: 50 # seconds
# triggers:
# - type: cpu
# metadata:
# # Required
# type: Utilization # Allowed types are 'Utilization' or 'AverageValue'
# value: "75"
envConfig:
WEBSITE_SITE_NAME: 'pagopa-api-config-testing-support'
ENV: 'uat'
Expand Down