README: fix setconf example

This commit is contained in:
Lucas Servén Marín 2019-05-03 14:13:56 +02:00
parent 85180a80cc
commit 5865cefbfa
No known key found for this signature in database
GPG Key ID: 586FEAF680DA74AD

View File

@ -99,7 +99,8 @@ EOF
This configuration can then be applied to a local WireGuard interface, e.g. `wg0`, with the help of the `kgctl` tool:
```shell
sudo wg setconf wg0 <(kgctl showconf peer squat)
kgctl --kubeconfig=$KUBECONFIG showconf peer squat > peer.ini
sudo wg setconf wg0 peer.ini
```
[See the VPN docs for more details](./docs/vpn.md).