Skip to content

Add generic objectbucket implementation#642

Open
Kidswiss wants to merge 2 commits intodevelopfrom
add/new_s3_implementation
Open

Add generic objectbucket implementation#642
Kidswiss wants to merge 2 commits intodevelopfrom
add/new_s3_implementation

Conversation

@Kidswiss
Copy link
Copy Markdown
Contributor

@Kidswiss Kidswiss commented Apr 14, 2026

Summary

  • This object bucket implementation will simply provision buckets via a given set of credentials
  • The credentials need to have the appropriate permissions to manage buckets

Checklist

  • Update tests.
  • Link this PR to related issues.
  • Merge with /merge comment.

Component PR: vshn/component-appcat#1144

@github-actions
Copy link
Copy Markdown
Contributor

@Kidswiss Kidswiss requested review from a team, TheBigLee, mdnix, mikeshootzz and zugao and removed request for a team April 15, 2026 08:10
@github-actions
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

@TheBigLee TheBigLee left a comment

Choose a reason for hiding this comment

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

LGTM
Small nit: Ensure proper commit message and not just "WIP"

Comment thread Makefile
Copy link
Copy Markdown
Collaborator

@zugao zugao left a comment

Choose a reason for hiding this comment

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

Some small stuff.

Comment thread pkg/comp-functions/functions/buckets/genericbucket/genericbucket.go
Comment thread pkg/comp-functions/functions/buckets/genericbucket/genericbucket.go
Comment thread pkg/comp-functions/functions/buckets/genericbucket/genericbucket.go
Comment thread apis/s3/generate.go Outdated
@Kidswiss Kidswiss force-pushed the add/new_s3_implementation branch from 20c8676 to 936d2eb Compare April 15, 2026 12:40
@Kidswiss Kidswiss requested a review from zugao April 15, 2026 12:41
This adds a new implementation for objectbuckets where no IAM is
available.

It allows to simply provision new buckets if credentials with sufficient
permissions are supplied.
@github-actions
Copy link
Copy Markdown
Contributor

@Kidswiss Kidswiss force-pushed the add/new_s3_implementation branch from 936d2eb to 69de5fa Compare April 15, 2026 12:46
@github-actions
Copy link
Copy Markdown
Contributor

BucketDeletionPolicy BucketDeletionPolicy `json:"bucketDeletionPolicy,omitempty"`

// Policy is a raw S3 bucket policy.
// Please consult https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html for more details about the policy.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pointing to this intentionally?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We still use the minio client internally. So it should still be valid.

@Kidswiss Kidswiss requested a review from mdnix April 20, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants