This commit is contained in:
zqm19941101
2018-10-30 19:27:36 +08:00
committed by GitHub
parent 03a145de8a
commit 05013135b4

View File

@@ -72,7 +72,7 @@ func (r rawDEKKEKSecret) getPayload() []byte {
return r[r.getStartOfPayload():] return r[r.getStartOfPayload():]
} }
// TestKMSProvider is an integration test between KubAPI, ETCD and KMS Plugin // TestKMSProvider is an integration test between KubeAPI, ETCD and KMS Plugin
// Concretely, this test verifies the following integration contracts: // Concretely, this test verifies the following integration contracts:
// 1. Raw records in ETCD that were processed by KMS Provider should be prefixed with k8s:enc:kms:v1:grpc-kms-provider-name: // 1. Raw records in ETCD that were processed by KMS Provider should be prefixed with k8s:enc:kms:v1:grpc-kms-provider-name:
// 2. Data Encryption Key (DEK) should be generated by envelopeTransformer and passed to KMS gRPC Plugin // 2. Data Encryption Key (DEK) should be generated by envelopeTransformer and passed to KMS gRPC Plugin