From 71f4a3aae1ac8acb75db2572852587db8523df07 Mon Sep 17 00:00:00 2001 From: Dylan Tangredi Date: Mon, 6 Oct 2025 11:38:04 +0200 Subject: [PATCH 1/3] feat: [PIDM-504] update deploy config and strategy --- helm/values-dev.yaml | 6 ++++++ helm/values-prod.yaml | 6 ++++++ helm/values-uat.yaml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 817b16997..9e20ecd88 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -20,8 +20,14 @@ microservice-chart: initialDelaySeconds: 90 failureThreshold: 6 periodSeconds: 10 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 deployment: create: true + replicas: 1 # (default) same as HPA minReplica service: create: true type: ClusterIP diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index fda0bfaf9..223f67f1e 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -20,8 +20,14 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 deployment: create: true + replicas: 3 # same as HPA minReplica service: create: true type: ClusterIP diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 226ff6b4d..3df23b963 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -20,8 +20,14 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 deployment: create: true + replicas: 1 # (default) same as HPA minReplica service: create: true type: ClusterIP From 8fc1a480f71d3096fd408f973167d1bca08e947b Mon Sep 17 00:00:00 2001 From: Dylan Tangredi Date: Tue, 14 Oct 2025 15:31:14 +0200 Subject: [PATCH 2/3] feat: [PIDM-504] upgrade helm chart and move deploy strategy section --- helm/Chart.yaml | 2 +- helm/values-dev.yaml | 10 +++++----- helm/values-prod.yaml | 10 +++++----- helm/values-uat.yaml | 10 +++++----- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index db0b72b5f..eb7e357d1 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -6,5 +6,5 @@ version: 0.241.0 appVersion: 0.16.0 dependencies: - name: microservice-chart - version: 7.5.0 + version: 8.0.2 repository: "https://pagopa.github.io/aks-microservice-chart-blueprint" diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 9e20ecd88..ed9427c83 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -20,14 +20,14 @@ microservice-chart: initialDelaySeconds: 90 failureThreshold: 6 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 1 # (default) same as HPA minReplica + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 service: create: true type: ClusterIP diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index 223f67f1e..48626fce1 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -20,14 +20,14 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 3 # same as HPA minReplica + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 service: create: true type: ClusterIP diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 3df23b963..8113f4565 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -20,14 +20,14 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 1 # (default) same as HPA minReplica + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 0 + maxSurge: 1 service: create: true type: ClusterIP From 5f66e5dd2b14b2296020beff554fef5734156449 Mon Sep 17 00:00:00 2001 From: Dylan Tangredi Date: Tue, 14 Oct 2025 16:16:25 +0200 Subject: [PATCH 3/3] feat: [PIDM-504] upgrade helm chart and move deploy strategy section --- helm/values-dev.yaml | 5 ----- helm/values-prod.yaml | 5 ----- helm/values-uat.yaml | 5 ----- 3 files changed, 15 deletions(-) diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml index 10db17333..48777a858 100644 --- a/helm/values-dev.yaml +++ b/helm/values-dev.yaml @@ -20,11 +20,6 @@ microservice-chart: initialDelaySeconds: 90 failureThreshold: 6 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 1 # (default) same as HPA minReplica diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml index efc5a047a..e72f07e33 100644 --- a/helm/values-prod.yaml +++ b/helm/values-prod.yaml @@ -20,11 +20,6 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 3 # same as HPA minReplica diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index 8033b1bb4..1e5dc6767 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -20,11 +20,6 @@ microservice-chart: initialDelaySeconds: 60 failureThreshold: 10 periodSeconds: 10 - strategy: - type: RollingUpdate - rollingUpdate: - maxUnavailable: 0 - maxSurge: 1 deployment: create: true replicas: 1 # (default) same as HPA minReplica