-
Notifications
You must be signed in to change notification settings - Fork 500
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
unify all S3 compliant storage to support backup and restore #1088
Conversation
/run-e2e-in-kind |
cc @aylei |
I have fixed this problem. |
/run-e2e-in-kind |
1 similar comment
/run-e2e-in-kind |
/run-e2e-in-kind |
pkg/apis/pingcap/v1alpha1/types.go
Outdated
|
||
// +k8s:openapi-gen=true | ||
// S3StoregeProviderType represents the specific storage provider that implements the S3 interface | ||
type S3StoregeProviderType string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S3StoregeProviderType typo Storage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-e2e-in-kind |
pkg/apis/pingcap/v1alpha1/types.go
Outdated
Endpoint string `json:"endpoint"` | ||
// StorageClass represents the storage class | ||
StorageClass string `json:"storageClass"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does S3 object storage need StorageClass field?
If Provider is ceph, what values should Acl and StorageClass fields be set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because s3 supports many different types of storage, if you do not set this parameter, we set it to STANDARD_IA by default. If provider is ceph, these fields do not need to be set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-e2e-in-kind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What problem does this PR solve?
Resolve #1038
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: