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), } }