mirror of https://github.com/hashicorp/consul
Update catalog mock data for Mode attr
parent
f9416b04b9
commit
53a0fc56e9
|
@ -58,7 +58,7 @@ as |route|>
|
||||||
</h1>
|
</h1>
|
||||||
<Consul::ExternalSource @item={{item}} />
|
<Consul::ExternalSource @item={{item}} />
|
||||||
<Consul::Kind @item={{item}} @withInfo={{true}} />
|
<Consul::Kind @item={{item}} @withInfo={{true}} />
|
||||||
{{#if proxy.ServiceProxy.Mode}}
|
{{#if (eq proxy.ServiceProxy.Mode 'transparent')}}
|
||||||
<Consul::TransparentProxy />
|
<Consul::TransparentProxy />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</BlockSlot>
|
</BlockSlot>
|
||||||
|
|
|
@ -49,7 +49,7 @@ ${range(env('CONSUL_EXPOSED_COUNT', 3)).map((i) => `
|
||||||
`)}
|
`)}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Mode": ${fake.random.boolean()},
|
"Mode": "${fake.helpers.randomize(['', 'direct', 'transparent'])}",
|
||||||
"DestinationServiceName": "${location.pathname.slice(4)}"
|
"DestinationServiceName": "${location.pathname.slice(4)}"
|
||||||
${ location.pathname.slice(4) === "service-0" ? `
|
${ location.pathname.slice(4) === "service-0" ? `
|
||||||
,
|
,
|
||||||
|
|
Loading…
Reference in New Issue