From b0e37e6c8fd3564752cc9ef358f247d5b08197a2 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Sun, 12 Dec 2021 20:50:28 +0530 Subject: [PATCH] chore(helm): enterprise migration Signed-off-by: Rajesh Rajendran --- scripts/helm/helm/database-migrate/templates/Job.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/helm/helm/database-migrate/templates/Job.yaml b/scripts/helm/helm/database-migrate/templates/Job.yaml index f53557fe4..833142d3c 100644 --- a/scripts/helm/helm/database-migrate/templates/Job.yaml +++ b/scripts/helm/helm/database-migrate/templates/Job.yaml @@ -71,6 +71,8 @@ spec: mountPath: /opt/openreplay - name: dbmigrationscript mountPath: /opt/migrations/ + {{- if .Values.global.enterprise_edition_license }} + # Enterprise migration - name: clickhouse image: yandex/clickhouse-client:20.9 command: @@ -95,6 +97,7 @@ spec: mountPath: /opt/openreplay - name: dbmigrationscript mountPath: /opt/migrations/ + {{- end}} volumes: - name: dbmigrationscript configMap: