From bc617e09bef215407fd1f2fd95d01badd9d1d1a9 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 906e31e00..11b987d28 100644 --- a/charts/datahub/Chart.yaml +++ b/charts/datahub/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for LinkedIn 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.16 +version: 0.4.17 # 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}}