pingcap / tidb-operator

TiDB operator creates and manages TiDB clusters running in Kubernetes.
https://docs.pingcap.com/tidb-in-kubernetes/
Apache License 2.0
1.24k stars 499 forks source link

BR: backup path should start with 'gs' when storage is gcs #4741

Open WizardXiao opened 2 years ago

WizardXiao commented 2 years ago

Bug Report

What version of Kubernetes are you using?

What version of TiDB Operator are you using?

master

What storage classes exist in the Kubernetes cluster and what are used for PD/TiKV pods?

What's the status of the TiDB cluster pods?

What did you do?

backup cr's backupPath is start with gcs when storage is gcs. but the path should start with gs. ref https://cloud.google.com/storage/docs/gsutil#syntax.

What did you expect to see? backup cr's backupPath start with gs. What did you see instead? backup cr's backupPath start with gcs.

WizardXiao commented 2 years ago

the path sart with gcs may be used when exec br commands here and rclone commands here. it needs a test when fix it.