-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Niraj Yadav <[email protected]>
- Loading branch information
1 parent
0477919
commit 5a7b44c
Showing
5 changed files
with
115 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
syntax = "proto3"; | ||
package encryptionkeyrotation; | ||
package proto; | ||
|
||
option go_package = "github.com/csi-addons/kubernetes-csi-addons/internal/proto"; | ||
|
||
// EncKeyRotation holds the RPC method for running | ||
// key rotation operation on the volume. | ||
service EncKeyRotation { | ||
rpc EncKeyRotate(EncKeyRotateRequest) | ||
returns (EncKeyRotateResponse){} | ||
// EncryptionKeyRotation holds the RPC method for running | ||
// key rotation operation on the pv. | ||
service EncryptionKeyRotation { | ||
rpc EncryptionKeyRotate(EncryptionKeyRotateRequest) | ||
returns (EncryptionKeyRotateResponse){} | ||
} | ||
// EncKeyRotateRequest contains the information needed to identify | ||
// the volume by the SP and access any backend services so that the key can be | ||
// rotated. | ||
message EncKeyRotateRequest { | ||
// EncryptionKeyRotateRequest contains the information needed to identify | ||
// the volume by the csi-addons sidecar and access any backend services so that the | ||
// key can be rotated. | ||
message EncryptionKeyRotateRequest { | ||
// The name of the pv | ||
// This field is required | ||
string pv_name = 1; | ||
} | ||
// EncKeyRotateResponse holds the information about the result of the | ||
// EncKeyRotateRequest call. | ||
message EncKeyRotateResponse { | ||
|
||
} | ||
// EncryptionKeyRotateResponse holds the information about the result of the | ||
// EncryptionKeyRotateRequest call. | ||
message EncryptionKeyRotateResponse { | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.