integ/filesystem/luks/src/encryption
Rahul Roshan Kachchap 90223dda23 Ensure encryption-proider.yaml present in luks
Following checks and enhacement are done in this commit
to handle the patching scenarios:
 - Added check for encryption-proider.yaml to be moved
   to luks volume from /etc/kubernetes directory if not
   present.
 - If encryption-proider.yaml already present in luks
   volume and also exists in /etc/kubernetes directory,
   then delete the encryption-proider.yaml file from
   /etc/kubernetes directory.
 - Remove the encryption-provider.yaml from the
   /opt/platform/config/${sftw_ver}/kubernetes
   if exists.

Test Plan:
PASSED: build-pkgs -c -p luks-fs-mgr
PASSED: build-image
PASSED: AIO-SX patch testing: Verified that the
        encryption-proider.yaml file is present only in
        luks volume. Luks service is up and running.

Story: 2010873
Task: 49533

Change-Id: If0891ed5b93f538953912e22afc940c6e4742800
Signed-off-by: Rahul Roshan Kachchap <rahulroshan.kachchap@windriver.com>
2024-02-06 06:23:48 -05:00
..
scripts Pmon monitoring of luks-fs-mgr service on controllers 2023-12-14 13:28:42 +00:00
Makefile Pushing luksVol files from active to standby 2023-12-19 00:29:55 -05:00
PassphraseGenerator.cpp Luks encrytion service manager 2023-10-26 08:39:26 -04:00
PassphraseGenerator.h Luks encrytion service manager 2023-10-26 08:39:26 -04:00
luks-fs-mgr.cpp Ensure encryption-proider.yaml present in luks 2024-02-06 06:23:48 -05:00