diff --git a/helm/Chart.yaml b/helm/Chart.yaml index c99f0f8..3d64322 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -6,5 +6,5 @@ version: 0.5.0 appVersion: 0.0.6 dependencies: - name: microservice-chart - version: 5.9.0 + version: 2.8.0 repository: "https://pagopa.github.io/aks-microservice-chart-blueprint" diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 50dc40b..22ea718 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -1,7 +1,7 @@ microservice-chart: namespace: "gps" nameOverride: "" - fullnameOverride: "pagopa-gpd-ingestion-manager" + fullnameOverride: "" image: repository: ghcr.io/pagopa/pagopa-gpd-ingestion-manager tag: "0.0.6" @@ -23,12 +23,22 @@ microservice-chart: periodSeconds: 10 deployment: create: true - service: + serviceMonitor: create: true + endpoints: + - interval: 10s #jmx-exporter + targetPort: 12345 + path: /metrics + ports: + - 80 #http + - 8080 + - 12345 #jmx-exporter + service: type: ClusterIP ports: + - 80 #http + - 12345 #jmx-exporter - 8080 - - 80 ingress: create: true host: "weudev.gps.internal.dev.platform.pagopa.it" @@ -44,10 +54,6 @@ microservice-chart: type: RuntimeDefault securityContext: allowPrivilegeEscalation: false - readOnlyRootFilesystem: false - capabilities: - drop: - - all resources: requests: memory: "512Mi" @@ -66,7 +72,13 @@ microservice-chart: metadata: # Required type: Utilization # Allowed types are 'Utilization' or 'AverageValue' - value: "75" + value: "80" + - type: memory + metadata: + # Required + type: Utilization # Allowed types are 'Utilization' or 'AverageValue' + value: "80" + fileConfig: {} envConfig: WEBSITE_SITE_NAME: "pagopagpdingestionmanager" # required to show cloud role name in application insights FUNCTIONS_WORKER_RUNTIME: "java" @@ -79,6 +91,9 @@ microservice-chart: 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: AzureWebJobsStorage: 'AzureWebJobsStorage-gdp-ingestion' APPLICATIONINSIGHTS_CONNECTION_STRING: 'ai-d-connection-string' @@ -102,7 +117,7 @@ microservice-chart: - key: node_type operator: In values: - - user + - 'user' canaryDelivery: create: false ingress: @@ -115,7 +130,7 @@ microservice-chart: service: create: true deployment: - create: true + create: false image: repository: ghcr.io/pagopa/pagopa-gpd-ingestion-manager tag: "0.0.0"