Skip to content

ptp wireguard#391

Open
sechmann wants to merge 5 commits intomainfrom
ptp_wireguard
Open

ptp wireguard#391
sechmann wants to merge 5 commits intomainfrom
ptp_wireguard

Conversation

@sechmann
Copy link
Copy Markdown
Contributor

  • feat(tunnel): add tunnel domain types and business logic
  • feat(tunnel): add DB migration for tunnel authorization
  • feat(tunnel): add CanCreateTunnel authorization check
  • feat(tunnel): add GraphQL schema, resolvers, and regenerate code
  • feat(tunnel): wire tunnel module into API server

sechmann and others added 5 commits April 11, 2026 14:24
Tunnel module with types, DB queries (CRUD + STUN endpoint update),
context helpers, dataloader, activity log, error definitions, and tests.

Supports point-to-point WireGuard tunnels between CLI and gateway pods.

Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Adds tunnels:create authorization to the RBAC system.

Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Adds team-scoped tunnels:create authorization function.

Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Tunnel GraphQL API: createTunnel, updateTunnelSTUNEndpoint, deleteTunnel
mutations, tunnel/tunnelsByTeam queries, and real-time tunnel status subscription.

Includes gqlgen config binding and all regenerated resolver/generated files.

Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
Register tunnel dataloader context and Kubernetes watcher.

Co-authored-by: Thomas Krampl <thomas.siegfried.krampl@nav.no>
@sechmann sechmann requested a review from a team as a code owner April 11, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant