Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove spec.from for Backup and spec.to for Restore in example (#5717) #5719

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading