Open o-orand opened 5 years ago
Limitations of adding shell hooks along with #187 (exposing credhub credentials in shell hooks):
Alternative is to have deployer-specific life cycle events:
Impacts if not implementing this enhancement: resources leaks
Contexts of these leaks:
also note the new bosh lifecycle https://bosh.io/docs/pre-stop/ bosh deployment could leverage this lifecycle (see eg: https://github.com/orange-cloudfoundry/generic-scripting-release/issues/4)
support added in v3
Is your feature request related to a problem? Please describe. When a bosh delete is executed, it may require additional cleanup (uaa, etc...). Currently, COA require each deployment to develop custom cleanup solution.
Describe the solution you'd like Enhance delete lifecycle with a
pre-delete.sh
and apost-delete.sh
to ease theses additional cleanup step. It may impact https://github.com/orange-cloudfoundry/cf-ops-automation/issues/67