From f234baab4a8bbb2f494162cc80114493ad7d4ea1 Mon Sep 17 00:00:00 2001 From: Dariya Nalimova Date: Mon, 2 Sep 2024 15:25:06 +0500 Subject: [PATCH] feat: edit updateStrategy --- charts/tekton-apps/Chart.yaml | 2 +- .../tekton-apps/templates/wordpress/argocd_applications.yaml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/charts/tekton-apps/Chart.yaml b/charts/tekton-apps/Chart.yaml index 8f927a85..ee4b6e56 100644 --- a/charts/tekton-apps/Chart.yaml +++ b/charts/tekton-apps/Chart.yaml @@ -12,7 +12,7 @@ appVersion: "v0.29.0" # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.20 +version: 0.2.21 maintainers: - url: https://www.saritasa.com/ diff --git a/charts/tekton-apps/templates/wordpress/argocd_applications.yaml b/charts/tekton-apps/templates/wordpress/argocd_applications.yaml index 4dd7ddb4..39598002 100644 --- a/charts/tekton-apps/templates/wordpress/argocd_applications.yaml +++ b/charts/tekton-apps/templates/wordpress/argocd_applications.yaml @@ -69,10 +69,7 @@ spec: {{- if .updateStrategy }} {{- toYaml .updateStrategy | nindent 10 }} {{- else }} - type: RollingUpdate - rollingUpdate: - maxSurge: 0% - maxUnavailable: 100% + type: Recreate {{- end }} replicaCount: {{ .replicaCount | default 1}}