mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rbd: remove deprecated rbdImageRequiresEncryption
remove support for deprecated rbdImageRequiresEncryption case. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
1e05a0da7c
commit
9f753889ed
@ -48,12 +48,6 @@ const (
|
||||
// with cryptsetup before updating the state to `rbdImageEncrypted`.
|
||||
rbdImageEncryptionPrepared = rbdEncryptionState("encryptionPrepared")
|
||||
|
||||
// rbdImageRequiresEncryption has been deprecated, it is used only for
|
||||
// volumes that have been created with an old provisioner, were never
|
||||
// attached/mounted and now get staged by a new node-plugin
|
||||
// TODO: remove this backwards compatibility support.
|
||||
rbdImageRequiresEncryption = rbdEncryptionState("requiresEncryption")
|
||||
|
||||
// image metadata key for encryption.
|
||||
encryptionMetaKey = "rbd.csi.ceph.com/encrypted"
|
||||
oldEncryptionMetaKey = ".rbd.csi.ceph.com/encrypted"
|
||||
|
Reference in New Issue
Block a user