Make node id a property

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-01-16 08:47:17 +01:00
parent acd0b73a49
commit 6da97627a7
7 changed files with 70 additions and 46 deletions

View File

@@ -31,21 +31,24 @@ assignment yet, it will still include this endpoint address in responses.
## Syntax
~~~
traffic
traffic TO...
~~~
The extended syntax (not implemented; everything is hard-coded at the moment):
* **TO...** are the Envoy control plane endpoint to connect to. The syntax mimics the *forward*
plugin and must start with `grpc://`.
The extended syntax is available is you want more control.
~~~
traffic {
server grpc://dsdsd <creds>
server SERVER [SERVER]...
node ID
}
~~~
* node **ID** is how *traffic* identifies itself to the control plane. This defaults to `coredns`.
## Examples
~~~ corefile