Improve cleanup (--delete-all) usage
It cleans all orphaned images and volumes on each kubernetes node:
docker system prune --force --all --volumes
Also it now fixes the requirement for an override file when
'--clean-only' is used and it adds more kubernetes resource object to
redeploy.
+ improve help description
+ add use_help to not print all help when not asked
+ fix function name: redeploy_component -> undeploy_component
+ fix messages on some systems by switching echo to printf
+ fix grep to not match (e.g.) onap-bars when onap-bar was requested
+ add trap and fix terminal colors on abort
Issue-ID: OOM-2074
Change-Id: I54958d6e97febbda461bfb68f3829b002e7200b4
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
1 file changed