From 65151d5acfd3a60985b0eb5bf90318d586bcd3cd Mon Sep 17 00:00:00 2001 From: Masterchen09 <13187726+Masterchen09@users.noreply.github.com.> Date: Tue, 4 Jun 2024 16:53:30 +0200 Subject: [PATCH] fix(restore-indices): always clear search and graph service before restoring indices --- charts/datahub/Chart.yaml | 2 +- .../datahub-upgrade/datahub-restore-indices-job-template.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/datahub/Chart.yaml b/charts/datahub/Chart.yaml index c6d778dc8..85c54eef0 100644 --- a/charts/datahub/Chart.yaml +++ b/charts/datahub/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for DataHub type: application # 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. -version: 0.4.19 +version: 0.4.20 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 0.13.2 diff --git a/charts/datahub/templates/datahub-upgrade/datahub-restore-indices-job-template.yml b/charts/datahub/templates/datahub-upgrade/datahub-restore-indices-job-template.yml index c88c15624..42c08a4c6 100644 --- a/charts/datahub/templates/datahub-upgrade/datahub-restore-indices-job-template.yml +++ b/charts/datahub/templates/datahub-upgrade/datahub-restore-indices-job-template.yml @@ -75,6 +75,8 @@ spec: - "batchSize={{ .Values.datahubUpgrade.batchSize }}" - "-a" - "batchDelayMs={{ .Values.datahubUpgrade.batchDelayMs }}" + - "-a" + - "clean" {{- end }} env: {{- include "datahub.upgrade.env" . | nindent 16}}