mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
rbd: fix encrypted PVC with metadata KMS cannot be deleted
Signed-off-by: Zerotens <12968743+zerotens@users.noreply.github.com>
This commit is contained in:
@ -54,8 +54,11 @@ func newDefaultTestDummy() EncryptionKMS {
|
||||
|
||||
func newSecretsMetadataTestDummy() EncryptionKMS {
|
||||
smKMS := secretsMetadataKMS{}
|
||||
smKMS.secretsKMS = secretsKMS{passphrase: base64.URLEncoding.EncodeToString(
|
||||
[]byte("test dummy passphrase"))}
|
||||
smKMS.Secrets = map[string]string{
|
||||
encryptionPassphraseKey: "test dummy passphrase",
|
||||
}
|
||||
smKMS.Tenant = "tenant"
|
||||
smKMS.Config = nil
|
||||
|
||||
return smKMS
|
||||
}
|
||||
|
Reference in New Issue
Block a user