From ac5f37cf683d9fc55109305bbaf79bcc36d1bf6c Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Thu, 3 Nov 2016 14:38:34 -0700 Subject: [PATCH] Making AllowUnauthenticated true by default --- nomad/structs/config/vault.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nomad/structs/config/vault.go b/nomad/structs/config/vault.go index 436592de7..a958661c6 100644 --- a/nomad/structs/config/vault.go +++ b/nomad/structs/config/vault.go @@ -75,6 +75,9 @@ func DefaultVaultConfig() *VaultConfig { return &VaultConfig{ Addr: "https://vault.service.consul:8200", ConnectionRetryIntv: DefaultVaultConnectRetryIntv, + AllowUnauthenticated: func(b bool) *bool { + return &b + }(true), } }