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
@@ -535,6 +535,7 @@ These properties will be specified in the BucketRequest and follow the same patt
535
535
536
536
The following resources are managed by admins
537
537
538
+
- Bucket in case of brownfield buckets
538
539
- BucketClass
539
540
- BucketAccessClass
540
541
@@ -641,11 +642,11 @@ BucketClaim {
641
642
Spec BucketClaimSpec {
642
643
// Name of the BucketClass
643
644
BucketClassName string
644
-
645
-
// Name of a bucket object that was manually
646
-
// created to import a bucket created outside of COSI
647
-
// +optional
648
-
ExistingBucketName string
645
+
646
+
// Name of a bucket object that was manually
647
+
// created to import a bucket created outside of COSI
648
+
// +optional
649
+
ExistingBucketName string
649
650
}
650
651
651
652
Status BucketClaimStatus {
@@ -654,7 +655,8 @@ BucketClaim {
654
655
BucketReady bool
655
656
656
657
// BucketName is the name of the provisioned Bucket in response
657
-
// to this BucketClaim
658
+
// to this BucketClaim. It is generated and set by the COSI controller
659
+
// before making the creation request to the OSP backend.
658
660
// +optional
659
661
BucketName string
660
662
}
@@ -707,12 +709,12 @@ BucketAccess {
707
709
// +optional
708
710
BucketClaimName string
709
711
710
-
// Protcol is the name of the Protocol
712
+
// Protocol is the name of the Protocol
711
713
// that this access credential is supposed to support
712
-
// If left empty, it will choose the protocol supported
713
-
// by the bucket. If the bucket supports multiple protocols,
714
-
// the end protocol is determined by the driver.
715
-
// +optional
714
+
// If left empty, it will choose the protocol supported
715
+
// by the bucket. If the bucket supports multiple protocols,
716
+
// the end protocol is determined by the driver.
717
+
// +optional
716
718
Protocol Protocol
717
719
718
720
// BucketAccessClassName is the name of the BucketAccessClass
@@ -732,7 +734,8 @@ BucketAccess {
732
734
// AccessGranted indicates the successful grant of privileges to access the bucket
733
735
AccessGranted bool
734
736
735
-
// AccountID is the unique ID for the account in the OSP
737
+
// AccountID is the unique ID for the account in the OSP. It will be populated
738
+
// by the COSI sidecar once access has been successfully granted.
736
739
// +optional
737
740
AccountID string
738
741
}
@@ -842,7 +845,7 @@ The returned `bucketID` should be a unique identifier for the bucket in the OSP.
842
845
843
846
This gRPC call creates a set of access credentials for a bucket. This api must be idempotent. The input to this call is the id of the bucket, a set of opaque parameters and name of the account. This `accountName` field is used to ensure that multiple requests for the same BucketClaim do not result in multiple credentials.
844
847
845
-
The returned `accountID` should be a unique identifier for the account in the OSP. This value could be the name of the account too. This value will be used by COSI to make all subsequent calls related to this account.
848
+
The returned `accountID` should be a unique identifier for the account in the OSP. This value could be the name of the account too. This value will be included in all subsequent calls to the driver for changes to the BucketAccess.
846
849
847
850
```
848
851
ProvisionerGrantBucketAccess
@@ -900,13 +903,16 @@ This gRPC call revokes access granted to a particular account.
900
903
901
904
## Alpha
902
905
- API is reviewed and accepted
903
-
- Implement all COSI components to support Greenfield, Green/Brown Field, Brownfield and Static Driverless provisioning
906
+
- Design COSI APIs to support Greenfield, Green/Brown Field, Brownfield and Static Driverless provisioning
907
+
- Design COSI APIs to support authentication using access/secret keys, and IAM.
904
908
- Evaluate gaps, update KEP and conduct reviews for all design changes
905
909
- Develop unit test cases to demonstrate that the above mentioned use cases work correctly
906
910
907
911
## Alpha -\> Beta
912
+
- Implement all COSI components to support agreed design.
913
+
- Design and implement support for sharing buckets across namespaces.
908
914
- Basic unit and e2e tests as outlined in the test plan.
909
-
- Metrics in kubernetes/kubernetes for bucket create and delete, and granting and revoking bucket access.
915
+
- Metrics for bucket create and delete, and granting and revoking bucket access.
910
916
- Metrics in provisioner for bucket create and delete, and granting and revoking bucket access.
0 commit comments