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

Added proposal to support non-S3 compatible object storage #493

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

d-kuro
Copy link
Collaborator

@d-kuro d-kuro commented Dec 21, 2022

refs: #427

Propose API enhancements to allow GCS and other non-S3 compatible object storage to be used from MOCO

@d-kuro d-kuro self-assigned this Dec 21, 2022
jobConfig:
...
bucketConfig:
backendType: s3 # added
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will s3 be the default?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.
I think it is appropriate to default to the S3 API as it has become the de facto standard interface for almost all storage providers.

I'm considering setting the string s3 if empty in the mutating webhook.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Note also that existing BackupPolicy might have empty backendType,
so MOCO should treat empty as S3.

Signed-off-by: d-kuro <kurosawa7620@gmail.com>
@d-kuro d-kuro changed the title WIP: Added proposal to support non-S3 compatible object storage Added proposal to support non-S3 compatible object storage Jan 11, 2023
@d-kuro d-kuro marked this pull request as ready for review January 11, 2023 04:53
@d-kuro d-kuro requested a review from masa213f January 11, 2023 04:53
Copy link
Contributor

@masa213f masa213f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masa213f masa213f merged commit 106c888 into main Jan 17, 2023
@masa213f masa213f deleted the d-kuro/storage-type branch January 17, 2023 08:42
@masa213f masa213f mentioned this pull request Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants