Files
nomad/client
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
..
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-03-15 09:37:05 +01:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-10-19 09:30:15 -04:00
2020-10-14 15:17:47 -07:00
2020-10-19 09:30:15 -04:00
2019-01-11 11:36:37 -08:00
2020-03-02 13:47:43 -05:00
2020-12-09 11:05:18 -08:00
2018-10-16 16:53:29 -07:00