Skip to content

Commit

Permalink
Fixing GRPC API as per discussion in today's meeting (kubernetes#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
brahmaroutu authored Aug 5, 2020
1 parent f5f3de1 commit 97d6ef7
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions keps/sig-storage/20191125-bucket-provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -566,12 +566,9 @@ This call is made to create the bucket in the backend. If the bucket already exi
```
message ProvisionerCreateBucketRequest {
// This field is REQUIRED
string bucket_name = 1;

string region = 2;

string zone = 3;

map<string,string> bucket_context = 4;

enum AnonymousBucketAccessMode {
Expand All @@ -582,8 +579,6 @@ message ProvisionerCreateBucketRequest {
}

AnonymousBucketAccessMode anonymous_bucket_access_mode = 5;

map<string,string> secrets = 6;
}

message ProvisionerCreateBucketResponse {
Expand All @@ -597,12 +592,9 @@ This call is made to delete the bucket in the backend. If the bucket has already
```
message ProvisionerDeleteBucketRequest {
// This field is REQUIRED
string bucket_name = 1;

string region = 2;

string zone = 3;

map<string,string> bucket_context = 4;
}

Expand All @@ -621,16 +613,14 @@ If the `principal` is empty, then a new service account should be created in the
```
message ProvisionerGrantBucketAccessRequest {
// This field is REQUIRED
string bucket_name = 1;

string region = 2;

string zone = 3;

map<string,string> bucket_context = 4;

string principal = 5;

// This field is REQUIRED
string access_policy = 6;
}

Expand All @@ -651,14 +641,12 @@ This call revokes all access to a particular bucket from a principal.
```
message ProvisionerRevokeBucketAccessRequest {
// This field is REQUIRED
string bucket_name = 1;

string region = 2;

string zone = 3;

map<string,string> bucket_context = 4;

// This field is REQUIRED
string principal = 5;
}

Expand Down

0 comments on commit 97d6ef7

Please sign in to comment.