mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
add a test for envoy_dns_discovery_type
This commit is contained in:
@@ -1563,6 +1563,7 @@ func TestParse(t *testing.T) {
|
||||
"listener2": {Name: "listener2", Address: "10.0.0.2", Port: 8889},
|
||||
},
|
||||
EnvoyGatewayNoDefaultBind: true,
|
||||
EnvoyDNSDiscoveryType: "LOGICAL_DNS",
|
||||
Config: map[string]interface{}{"foo": "bar"},
|
||||
},
|
||||
Terminating: &api.ConsulTerminatingConfigEntry{
|
||||
|
||||
@@ -20,6 +20,7 @@ job "connect_gateway_terminating" {
|
||||
}
|
||||
|
||||
envoy_gateway_no_default_bind = true
|
||||
envoy_dns_discovery_type = "LOGICAL_DNS"
|
||||
|
||||
config {
|
||||
foo = "bar"
|
||||
|
||||
Reference in New Issue
Block a user