Files
nomad/command
Tim Gross 1998004483 move deprecation warning for Vault/Consul token to admission hook (#18995)
Submitting a Consul or Vault token with a job is deprecated in Nomad 1.7 and
intended for removal in Nomad 1.9. We added a deprecation warning to the CLI
when the user passes in the appropriate flag or environment variable in
does not use Vault or Consul but happen to have the appropriate environment
variable in your environment. While this is generally a bad practice (because
the token is leaked to Nomad), it's also the existing practice for some users.

Move the warning to the job admission hook. This will allow us to warn only when
appropriate, and that will also help the migration process by producing warnings
only for the relevant jobs.
2023-11-07 08:37:06 -05:00
..
2023-11-07 10:42:00 +01:00
2023-10-20 13:05:55 -04:00
2023-10-20 13:05:55 -04:00
2023-11-07 10:42:00 +01:00
2023-11-07 10:42:00 +01:00
2023-11-02 09:02:07 +01:00
2023-10-05 11:56:17 -05:00