-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cherry pick missing PRs into release-1.1 (#1953)
* Support IAM role for backup CRD (#1861) * backup: support kms decryption secret (#1908) * fix API docs html * use /hack/e2e.sh to run a single node kind cluster for develop (#1749) * Backup: make tikv support add serviceaccount and switch rclone env_auth to true (#1930) Co-authored-by: 尹亮 <30903849+shuijing198799@users.noreply.github.com> Co-authored-by: weekface <weekface@gmail.com>
- Loading branch information
1 parent
9ae7ae2
commit 403fe05
Showing
21 changed files
with
508 additions
and
133 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
apiVersion: pingcap.com/v1alpha1 | ||
kind: Backup | ||
metadata: | ||
name: demo1-backup-s3 | ||
namespace: test1 | ||
# annotations: | ||
# iam.amazonaws.com/role: "arn:aws:iam::123456789:role" | ||
spec: | ||
# backupType: full | ||
# useKMS: false | ||
# serviceAccount: myServiceAccount | ||
br: | ||
cluster: myCluster | ||
# clusterNamespce: <backup-namespace> | ||
# enableTLSClient: true | ||
# logLevel: info | ||
# statusAddr: <status-addr> | ||
# concurrency: 4 | ||
# rateLimit: 0 | ||
# timeAgo: <time> | ||
# checksum: true | ||
# sendCredToTikv: true | ||
from: | ||
host: 172.30.6.56 | ||
secretName: mySecret | ||
# port: 4000 | ||
# user: root | ||
s3: | ||
provider: aws | ||
region: us-west-2 | ||
bucket: backup | ||
prefix: test1-demo1 | ||
# secretName: aws-secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
apiVersion: pingcap.com/v1alpha1 | ||
kind: BackupSchedule | ||
metadata: | ||
name: demo1-backup-schedule-s3 | ||
namespace: test1 | ||
# annotations: | ||
# iam.amazonaws.com/role: "arn:aws:iam::123456789:role" | ||
spec: | ||
#maxBackups: 5 | ||
#pause: true | ||
maxReservedTime: "3h" | ||
schedule: "*/2 * * * *" | ||
backupTemplate: | ||
#backupType: full | ||
# useKMS: false | ||
# serviceAccount: myServiceAccount | ||
br: | ||
cluster: myCluster | ||
# clusterNamespce: backupNamespace | ||
# enableTLSClient: true | ||
# logLevel: info | ||
# statusAddr: <status-addr> | ||
# concurrency: 4 | ||
# rateLimit: 0 | ||
# timeAgo: <time> | ||
# checksum: true | ||
# sendCredToTikv: true | ||
from: | ||
host: 172.30.6.56 | ||
secretName: mysecret | ||
# port: 4000 | ||
# user: root | ||
s3: | ||
provider: aws | ||
region: us-west-2 | ||
bucket: backup | ||
prefix: test1-demo1 | ||
# secretName: aws-secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
apiVersion: pingcap.com/v1alpha1 | ||
kind: Restore | ||
metadata: | ||
name: demo1-restore-s3-br | ||
namespace: test1 | ||
# annotations: | ||
# iam.amazonaws.com/role: "arn:aws:iam::123456789:role" | ||
spec: | ||
# backupType: full | ||
# useKMS: false | ||
# serviceAccount: myServiceAccount | ||
br: | ||
cluster: myCluster | ||
# clusterNamespce: <restore-namespace> | ||
# enableTLSClient: true | ||
# db: <db-name> | ||
# table: <table-name> | ||
# logLevel: info | ||
# statusAddr: <status-addr> | ||
# concurrency: 4 | ||
# rateLimit: 0 | ||
# timeAgo: <time> | ||
# checksum: true | ||
# sendCredToTikv: true | ||
to: | ||
host: 172.30.6.56 | ||
secretName: mySecret | ||
# port: 4000 | ||
# user: root | ||
s3: | ||
provider: aws | ||
region: us-west-2 | ||
bucket: backup | ||
prefix: test1-demo1 | ||
# secretName: aws-secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.