Skip to content

Commit

Permalink
Update build artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Niraj Yadav <[email protected]>
  • Loading branch information
black-dragon74 committed Jun 13, 2024
1 parent 35705c5 commit b13d4fc
Show file tree
Hide file tree
Showing 5 changed files with 295 additions and 135 deletions.
18 changes: 9 additions & 9 deletions encryptionkeyrotation/encryptionkeyrotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ option go_package = "github.com/csi-addons/spec/lib/go/encryptionkeyrotation";
// EncryptionKeyRotationController holds the RPC method for running
// key rotation operation on the volume.
service EncryptionKeyRotationController {
// EncryptionKeyRotate is a procedure that is called on the CSI Nodeplugin
rpc EncryptionKeyRotate(EncryptionKeyRotateRequest)
returns (EncryptionKeyRotateResponse){}
// EncryptionKeyRotate is a procedure that is called on the CSI Nodeplugin
rpc EncryptionKeyRotate(EncryptionKeyRotateRequest)
returns (EncryptionKeyRotateResponse){}
}
// EncryptionKeyRotateRequest contains the information needed to identify
// the volume by the SP and access any backend services so that the key can be
// rotated.
message EncryptionKeyRotateRequest {
// The ID of the volume for which the key is to be rotated. This field is REQUIRED.
string volume_id = 1;
// The ID of the volume for which the key is to be rotated. REQUIRED.
string volume_id = 1;

// Plugin specific parameters passed in as opaque key-value pairs.
map<string, string> parameters = 2;
// Plugin specific parameters passed in as opaque key-value pairs.
map<string, string> parameters = 2;

// Secrets required by the plugin to complete the request.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];
// Secrets required by the plugin to complete the request.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];
}
// EncryptionKeyRotateResponse holds the information about the result of the
// EncryptionKeyRotateRequest call.
Expand Down
11 changes: 6 additions & 5 deletions identity/identity.proto
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,13 @@ message Capability {
message EncryptionKeyRotation {
// Type describes a CSI Service that CSI-drivers can support.
enum Type {
// UNKNOWN indicates that the CSI-driver does not support the EncryptionKeyRotation
// operation in the current mode. The CSI-Addons CO plugin will most
// likely ignore this node for the EncryptionKeyRotation operation.
// UNKNOWN indicates that the CSI-driver does not support the
// EncryptionKeyRotation operation in the current mode.
// The CSI-Addons CO plugin will most likely ignore this node
// for the EncryptionKeyRotation operation.
UNKNOWN = 0;
// ENCRYPTIONKEYROTATION indicates that the CSI-driver provides RPCs for a
// EncryptionKeyRotation operation.
// ENCRYPTIONKEYROTATION indicates that the CSI-driver provides
// RPCs for an EncryptionKeyRotation operation.
// The presence of this capability determines whether the CSI-Addons CO
// plugin can invoke RPCs that require a volume to be staged/attached to
// the node.
Expand Down
4 changes: 2 additions & 2 deletions lib/go/encryptionkeyrotation/encryptionkeyrotation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions lib/go/encryptionkeyrotation/encryptionkeyrotation_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b13d4fc

Please sign in to comment.