Skip to content

Commit

Permalink
avoid certificate issue in long running nomad jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Oct 16, 2020
1 parent a911eda commit e0fd6b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/nomad.nix
Expand Up @@ -1122,6 +1122,9 @@ in {
environment = mkIf config.services.consul.enable {
CONSUL_HTTP_ADDR = "http://127.0.0.1:8500";
VAULT_FORMAT = "json";
# certificates get rotated often, we got no way to update them while
# the jobs are running...
VAULT_SKIP_VERIFY = "true";
HOME = "/var/lib/nomad";
};

Expand Down

0 comments on commit e0fd6b4

Please sign in to comment.