Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd: delete the key file deletion in encryption open init containers
The key file deletion process is in the shell script commonly used by all of encryption-open, encryption-open-metadata, and encryption-open-wal init containers. The key file is deleted at the encryption-open init container and encryption-open-metadata and encryption-open-wal init containers are failed to open the key file. The key file is in the /etc/ceph folder. Unless that folder is shared, the key file anyway won't be available in the other init containers even if it is not deleted by these init containers. And it will naturally anyway be deleted after the init containers are completed. So The key file deletion process in shell scripts is unnecessary. Fixes: #13737 Signed-off-by: Yuma Ogami <yuma-ogami@cybozu.co.jp>
- Loading branch information