Commit Graph

1 Commits (25524d529044f34fc92ee9c84ad50cd55af8b134)

Author SHA1 Message Date
Dustin 25524d5290 routes: Add WireGuard configuration resource
The * GET /wireguard/config/<instance-id>* resource returns the
WireGuard client configuration assigned to the specified instance ID.
The resource contents are stored in the Kubernetes Secret, in a data
field named `wireguard-config`.  The contents of this field are returned
directly as a string, without any transformation.  Thus, the value must
be a complete, valid WireGuard configuration document.  Instances will
fetch and save this configuration when they first launch, to configure
their access to the VPN.
2022-10-03 18:29:47 -05:00