diff --git a/charts/tidb-backup/templates/scripts/_start_restore.sh.tpl b/charts/tidb-backup/templates/scripts/_start_restore.sh.tpl index 9e9e98d9495..db0d7fd511a 100644 --- a/charts/tidb-backup/templates/scripts/_start_restore.sh.tpl +++ b/charts/tidb-backup/templates/scripts/_start_restore.sh.tpl @@ -3,7 +3,7 @@ set -euo pipefail dirname=restore-`date +%Y-%m-%dT%H%M%S`-${MY_POD_NAME} dataDir=/data/${dirname} mkdir -p ${dataDir}/ -host=`echo {{ .Values.clusterName }}_TIDB_SERVICE_HOST | tr '[a-z]' '[A-Z]'` | tr '-' '_'` +host=`echo {{ .Values.clusterName }}_TIDB_SERVICE_HOST | tr '[a-z]' '[A-Z]' | tr '-' '_'` {{- if .Values.restore.gcp }} downloader \