Add config option to enable (m)TLS between Poseidon and Nomad
This commit is contained in:

committed by
Jan-Eric Hellenberg

parent
e2d71a11ad
commit
6a60b6cd89
@@ -51,7 +51,7 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
nomadNamespace = config.Config.Nomad.Namespace
|
||||
nomadClient, err = nomadApi.NewClient(&nomadApi.Config{
|
||||
Address: config.Config.NomadAPIURL().String(),
|
||||
Address: config.Config.Nomad.URL().String(),
|
||||
TLSConfig: &nomadApi.TLSConfig{},
|
||||
Namespace: nomadNamespace,
|
||||
})
|
||||
|
Reference in New Issue
Block a user