mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #116996 from aramase/aramase/c/kms_api_cleanup_comments
[KMSv2] cleanup comments in v2 proto api
This commit is contained in:
commit
6226fa7acc
@ -288,7 +288,6 @@ type EncryptResponse struct {
|
|||||||
// This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage.
|
// This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage.
|
||||||
KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
|
||||||
// Additional metadata to be stored with the encrypted data.
|
// Additional metadata to be stored with the encrypted data.
|
||||||
// This metadata can contain the encrypted local KEK that was used to encrypt the DEK.
|
|
||||||
// This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data.
|
// This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data.
|
||||||
Annotations map[string][]byte `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Annotations map[string][]byte `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||||
|
@ -73,7 +73,6 @@ message EncryptResponse {
|
|||||||
// This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage.
|
// This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage.
|
||||||
string key_id = 2;
|
string key_id = 2;
|
||||||
// Additional metadata to be stored with the encrypted data.
|
// Additional metadata to be stored with the encrypted data.
|
||||||
// This metadata can contain the encrypted local KEK that was used to encrypt the DEK.
|
|
||||||
// This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data.
|
// This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data.
|
||||||
map<string, bytes> annotations = 3;
|
map<string, bytes> annotations = 3;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user