Skip to content

Commit

Permalink
chore: remove spec.from for Backup and spec.to for Restore in example (
Browse files Browse the repository at this point in the history
…#5718)

Co-authored-by: csuzhangxc <[email protected]>
  • Loading branch information
ti-chi-bot and csuzhangxc committed Aug 26, 2024
1 parent 18af0b1 commit bb7f07d
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 120 deletions.
6 changes: 0 additions & 6 deletions examples/backup/backup-azblob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ metadata:
spec:
cleanPolicy: Delete
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-ebs-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ spec:
cleanPolicy: Delete
backupType: full
backupMode: volume-snapshot
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
toolImage: localhost:5000/pingcap/br:latest
br:
cluster: basic
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-ebs-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ spec:
cleanPolicy: Delete
backupType: full
backupMode: volume-snapshot
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
toolImage: localhost:5000/pingcap/br:latest
br:
cluster: basic
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ metadata:
spec:
cleanPolicy: Delete
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ metadata:
spec:
cleanPolicy: Delete
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-schedule-azblob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ spec:
# maxReservedTime: "2m"
schedule: "*/1 * * * *"
backupTemplate:
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb_host}
# port: ${tidb_port}
# user: ${tidb_user}
# secretName: backup-demo1-tidb-secret
cleanPolicy: Delete
br:
cluster: basic
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/backup-schedule-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ spec:
# maxReservedTime: "2m"
schedule: "*/1 * * * *"
backupTemplate:
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb_host}
# port: ${tidb_port}
# user: ${tidb_user}
# secretName: backup-demo1-tidb-secret
cleanPolicy: Delete
br:
cluster: basic
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/restore-azblob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ metadata:
namespace: default
spec:
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# to:
# host: ${tidb_host}
# port: ${tidb_port}
# user: ${tidb_user}
# secretName: restore-demo2-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/restore-ebs-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ metadata:
spec:
backupType: full
backupMode: volume-snapshot
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
toolImage: localhost:5000/pingcap/br:latest
br:
cluster: basic
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/restore-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ metadata:
namespace: default
spec:
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# from:
# host: ${tidb-host}
# port: ${tidb-port}
# user: ${tidb-user}
# secretName: backup-basic-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions examples/backup/restore-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ metadata:
namespace: default
spec:
# backupType: full
# Only needed for TiDB Operator < v1.1.7 or TiDB < v4.0.8
# to:
# host: ${tidb_host}
# port: ${tidb_port}
# user: ${tidb_user}
# secretName: restore-demo2-tidb-secret
br:
cluster: basic
clusterNamespace: default
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-aws-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
from:
host: 172.30.6.56
secretName: mySecret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
s3:
provider: aws
region: us-west-2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-gcs-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ spec:
# rateLimit: 0
# timeAgo: <time>
# checksum: true
from:
host: 172.30.6.56
secretName: my-secret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
gcs:
projectId: gcp
location: us-west2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
from:
host: 172.30.6.56
secretName: mySecret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
s3:
provider: ceph
endpoint: http://10.233.57.220
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-schedule-aws-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
from:
host: 172.30.6.56
secretName: mysecret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
s3:
provider: aws
region: us-west-2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-schedule-gcs-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ spec:
# rateLimit: 0
# timeAgo: <time>
# checksum: true
from:
host: 172.30.6.56
secretName: mysecret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
gcs:
provider: gcp
region: us-west-2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/backup-schedule-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
from:
host: 172.30.6.56
secretName: mysecret
# port: 4000
# user: root
# tlsClientSecretName: <backup-tls-secretname>
s3:
provider: ceph
endpoint: http://10.233.57.220
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/restore-aws-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
to:
host: 172.30.6.56
secretName: mySecret
# port: 4000
# user: root
# tlsClientSecretName: <restore-tls-secretname>
s3:
provider: aws
region: us-west-2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/restore-gcs-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ spec:
# rateLimit: 0
# timeAgo: <time>
# checksum: true
to:
host: 172.30.6.56
secretName: mySecret
# port: 4000
# user: root
# tlsClientSecretName: <restore-tls-secretname>
gcs:
projectId: gcp
location: us-west2
Expand Down
6 changes: 0 additions & 6 deletions manifests/backup/restore-s3-br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ spec:
# timeAgo: <time>
# checksum: true
# sendCredToTikv: true
to:
host: 172.30.6.56
secretName: mySecret
# port: 4000
# user: root
# tlsClientSecretName: <restore-tls-secretname>
s3:
provider: ceph
endpoint: http://10.233.57.220
Expand Down

0 comments on commit bb7f07d

Please sign in to comment.