- State: in-progress
HM should allow much more granular configuration for which deployments/jobs/instance groups should be resurrected.
Given that Director now supports consolidated configs API, we can define a new config type: resurrection
with the following format:
rules:
- enabled: false
include:
deployments:
- dep1
- enabled: true
include:
deployments:
- dep1
instance_groups:
- api
(set via bosh update-config --type resurrection --name default resurrection.yml
)
By default HM will continue to resurrect by default unless it finds resurrection configuration that disables it for a particular set of deployment or instance groups.
enabled
[Boolean] which represents whether resurrection should occur or not.include
/exclude
declrations follow same rules as addons' include/exclude rules. Onlydeployments
andinstance_groups
keys are allowed.
- Should multiple resurrection configs be allowed?