From c25de2c9a187512fa3f254ef53e7e22940f2c772 Mon Sep 17 00:00:00 2001 From: svariant Date: Wed, 13 Nov 2024 10:28:53 +0100 Subject: [PATCH 1/3] feat: Update chart version --- helm/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 761933f..caf1c24 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -6,5 +6,5 @@ version: 0.3.0 appVersion: 0.0.4 dependencies: - name: microservice-chart - version: 1.21.0 + version: 5.9.0 repository: "https://pagopa.github.io/aks-microservice-chart-blueprint" From 88da4588804a5b5425be48437f18ee8beac4aef9 Mon Sep 17 00:00:00 2001 From: pasqualespica Date: Wed, 13 Nov 2024 10:41:35 +0100 Subject: [PATCH 2/3] remove chart lock --- helm/Chart.lock | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 helm/Chart.lock diff --git a/helm/Chart.lock b/helm/Chart.lock deleted file mode 100644 index ec10db3..0000000 --- a/helm/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: microservice-chart - repository: https://pagopa.github.io/aks-microservice-chart-blueprint - version: 1.21.0 -digest: sha256:e3deccb7ac0b5d85af0c726f28316ebe7a3795cbf54522330c33474b0bae309a -generated: "2022-10-06T17:44:35.49088+02:00" From b9085b6ada03cdc6ef82f1ff0182da07d3b36681 Mon Sep 17 00:00:00 2001 From: pasqualespica Date: Wed, 13 Nov 2024 11:05:24 +0100 Subject: [PATCH 3/3] fix dev deploy --- helm/values-dev.yaml | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 89e8bd1..2f3a736 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -40,7 +40,11 @@ microservice-chart: seccompProfile: type: RuntimeDefault securityContext: + readOnlyRootFilesystem: true allowPrivilegeEscalation: false + capabilities: + drop: + - all resources: requests: memory: "512Mi" @@ -72,9 +76,6 @@ 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' @@ -90,6 +91,31 @@ microservice-chart: tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d" nodeSelector: {} tolerations: [] - affinity: {} + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node_type + operator: In + values: + - user canaryDelivery: create: false + ingress: + create: true + canary: + type: header + headerName: X-Canary + headerValue: canary + weightPercent: 0 + service: + create: true + deployment: + create: true + image: + repository: ghcr.io/pagopa/pagopa-print-payment-notice-service + tag: "0.0.0" + pullPolicy: Always + envConfig: {} + envSecret: {} \ No newline at end of file