mirror of
https://github.com/hanzozt/zt.git
synced 2026-11-03 05:01:58 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
{{$ssh_username := .Model.MustVariable "credentials.ssh.username"}}
|
|
{{$identity := .Component.PublicIdentity}}
|
|
{{$protocol := .Model.MustVariable "ztlib.fabric.data_plane_protocol"}}
|
|
{{$ctrl_ip := publicIp "component.ctrl"}}
|
|
{{$router_ip := .Host.PublicIp}}
|
|
|
|
v: 3
|
|
|
|
forwarder:
|
|
latencyProbeInterval: 1000
|
|
|
|
identity:
|
|
cert: /home/{{$ssh_username}}/fablab/pki/intermediate/certs/{{$identity}}-client.cert
|
|
server_cert: /home/{{$ssh_username}}/fablab/pki/intermediate/certs/{{$identity}}-server.cert
|
|
key: /home/{{$ssh_username}}/fablab/pki/intermediate/keys/{{$identity}}.key
|
|
ca: /home/{{$ssh_username}}/fablab/pki/intermediate/certs/{{$identity}}-server.chain.pem
|
|
|
|
ctrl:
|
|
endpoint: tls:{{$ctrl_ip}}:6262
|
|
|
|
dialers:
|
|
- binding: transport
|
|
|
|
link:
|
|
listeners:
|
|
- binding: transport
|
|
bind: {{$protocol}}:0.0.0.0:6000
|
|
advertise: {{$protocol}}:{{$router_ip}}:6000
|
|
dialers:
|
|
- binding: transport
|