Skip to content

Commit e30c32e

Browse files
committed
Documented required permission for GetBootstrapCommands call
1 parent 473857d commit e30c32e

5 files changed

Lines changed: 12 additions & 2 deletions

File tree

gen/go/qdrant/cloud/hybrid/v1/hybrid_cloud_grpc.pb.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/openapiv2/qdrant/cloud/hybrid/v1/hybrid_cloud.swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"paths": {
1919
"/api/hybrid-cloud-environment/v1/accounts/{accountId}/hybrid-cloud-environments/{hybridCloudEnvironmentId}/initial-installation-command": {
2020
"get": {
21-
"summary": "Fetch the commands that should be executed against a kubernetes cluster to\nbootstrap it to the hybrid cloud environment. The operation can be invoked multiple times,\nbut be aware that each invocation is going to create new Qdrant cloud access token and the registry credentials.\nThus, it make sense to call it only if a kubernetes cluster is not yet registered to the given hybrid environment.",
21+
"summary": "Fetch the commands that should be executed against a kubernetes cluster to\nbootstrap it to the hybrid cloud environment. The operation can be invoked multiple times,\nbut be aware that each invocation is going to create new Qdrant cloud access token and the registry credentials.\nThus, it make sense to call it only if a kubernetes cluster is not yet registered to the given hybrid environment.\nRequired permission:\n- write:hybrid_cloud_environments",
2222
"operationId": "HybridCloudService_GetBootstrapCommands",
2323
"responses": {
2424
"200": {

gen/python/qdrant/cloud/hybrid/v1/hybrid_cloud_pb2_grpc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def GetBootstrapCommands(self, request, context):
101101
bootstrap it to the hybrid cloud environment. The operation can be invoked multiple times,
102102
but be aware that each invocation is going to create new Qdrant cloud access token and the registry credentials.
103103
Thus, it make sense to call it only if a kubernetes cluster is not yet registered to the given hybrid environment.
104+
Required permission:
105+
- write:hybrid_cloud_environments
104106
"""
105107
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
106108
context.set_details('Method not implemented!')

gen/typescript/qdrant/cloud/hybrid/v1/hybrid_cloud_pb.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,8 @@ export declare const HybridCloudService: GenService<{
11761176
* bootstrap it to the hybrid cloud environment. The operation can be invoked multiple times,
11771177
* but be aware that each invocation is going to create new Qdrant cloud access token and the registry credentials.
11781178
* Thus, it make sense to call it only if a kubernetes cluster is not yet registered to the given hybrid environment.
1179+
* Required permission:
1180+
* - write:hybrid_cloud_environments
11791181
*
11801182
* @generated from rpc qdrant.cloud.hybrid.v1.HybridCloudService.GetBootstrapCommands
11811183
*/

proto/qdrant/cloud/hybrid/v1/hybrid_cloud.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,11 @@ service HybridCloudService {
7171
// bootstrap it to the hybrid cloud environment. The operation can be invoked multiple times,
7272
// but be aware that each invocation is going to create new Qdrant cloud access token and the registry credentials.
7373
// Thus, it make sense to call it only if a kubernetes cluster is not yet registered to the given hybrid environment.
74+
// Required permission:
75+
// - write:hybrid_cloud_environments
7476
rpc GetBootstrapCommands(GetBootstrapCommandsRequest) returns (GetBootstrapCommandsResponse) {
7577
// permissions
76-
option (common.v1.permissions) = "write:hybrid_cloud_environments"; // TODO do we need read:hybrid_cloud_environments instead?
78+
option (common.v1.permissions) = "write:hybrid_cloud_environments";
7779
// gRPC Gateway REST call
7880
option (google.api.http) = {get: "/api/hybrid-cloud-environment/v1/accounts/{account_id}/hybrid-cloud-environments/{hybrid_cloud_environment_id}/initial-installation-command"};
7981
}

0 commit comments

Comments
 (0)