You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the operator is only able to give admin and read-only access with two separate credentials to the users. However, in order to remove the need for Minio users, the operator must be able to create specific credentials with customizable access levels for different users.
This results in creating different credentials for every subuser. The credentials key type can be s3 instead of swift.
S3User
It's the same since s3User instances are created only for every s3UserClaim.
S3Bucket
apiVersion: s3.snappcloud.io/v1alpha1kind: S3Bucketmetadata:
name: s3bucket-samplespec:
# Only a S3User can be the owner. i.e. s3SubUser can't be.s3UserRef: s3userclaim-samples3DeletionPolicy: deletes3SubUserBinding:
- name: myUser1access: read
- name: myUser2access: write
Access levers on the subusers:
read
write
Reconciliation Flow
When the S3User adds a new subuser, the operator would create a new subuser with access=SubuserAccessNone in S3SubUserSpec which leads to creating credentials (access and secret key) for the new subuser.
When the S3User adds the new Sub3User to the s3Bucket, a bucketPolicy would be added with the defined access level to the bucket for the s3SubUser.
The text was updated successfully, but these errors were encountered:
Feature Proposal
Objective
At the moment, the operator is only able to give admin and read-only access with two separate credentials to the users. However, in order to remove the need for Minio users, the operator must be able to create specific credentials with customizable access levels for different users.
Proposed CRDs
S3UserClaim
This results in creating different credentials for every
subuser
. The credentials key type can bes3
instead ofswift
.S3User
It's the same since s3User instances are created only for every s3UserClaim.
S3Bucket
Access levers on the
subusers
:Reconciliation Flow
When the S3User adds a new
subuser
, the operator would create a newsubuser
withaccess=SubuserAccessNone
in S3SubUserSpec which leads to creating credentials (access and secret key) for the newsubuser
.When the
S3User
adds the newSub3User
to thes3Bucket
, a bucketPolicy would be added with the defined access level to the bucket for thes3SubUser
.The text was updated successfully, but these errors were encountered: