open-nomad/website/pages/docs/upgrade
Tim Gross 1785822386
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
..
index.mdx Small website updates (#9504) 2020-12-02 19:02:03 -05:00
upgrade-specific.mdx template: trigger change_mode for dynamic secrets on restore (#9636) 2020-12-16 13:36:19 -05:00