Files
nomad/client/allocrunner/taskrunner
Tim Gross 004f1c972f template: trigger change_mode for dynamic secrets on restore (#9636)
When a task is restored after a client restart, the template runner will
create a new lease for any dynamic secret (ex. Consul or PKI secrets
engines). But because this lease is being created in the prestart hook, we
don't trigger the `change_mode`.

This changeset uses the the existence of the task handle to detect a
previously running task that's been restored, so that we can trigger the
template `change_mode` if the template is changed, as it will be only with
dynamic secrets.
2020-12-16 13:36:19 -05:00
..
2019-03-04 13:15:15 -08:00
2019-01-08 09:11:47 -05:00
2019-12-13 11:21:00 -05:00
2020-10-14 15:17:47 -07:00
2020-10-14 15:17:47 -07:00