Skip to content

feat: add p2p wss support#31

Open
gacevicljubisa wants to merge 34 commits intomainfrom
feat/p2p-wss-support-v2
Open

feat: add p2p wss support#31
gacevicljubisa wants to merge 34 commits intomainfrom
feat/p2p-wss-support-v2

Conversation

@gacevicljubisa
Copy link
Member

@gacevicljubisa gacevicljubisa commented Jan 16, 2026

This PR adds optional P2P WebSocket Secure (WSS) support to beelocal, enabling secure P2P connections with automatic TLS certificate management for Bee nodes running in local Kubernetes clusters.

What's Changed

New Feature: P2P-WSS Support

  • Introduces P2P_WSS_ENABLE environment variable (default: false) to optionally enable P2P-WSS infrastructure
  • When enabled, deploys two supporting services:
    • Pebble: A lightweight ACME test CA server for certificate issuance
    • p2p-forge: DNS server that handles ACME DNS-01 challenges for automatic TLS provisioning

Implementation Details

  • Adds deploy-p2p-wss() function to deploy and configure the P2P-WSS stack
  • Automatically configures CoreDNS to forward local.test domain queries to p2p-forge
  • Integrates deployment into both install and prepare actions
  • Handles graceful fallback: attempts to download deployment configs from remote, falls back to local files if unavailable
  • New Kubernetes manifests: pebble-deployment.yaml and p2p-forge-deployment.yaml

@gacevicljubisa gacevicljubisa changed the title Feat/p2p wss support v2 feat(p2p): wss support v2 Jan 16, 2026
@gacevicljubisa gacevicljubisa changed the title feat(p2p): wss support v2 feat: p2p wss support v2 Jan 16, 2026
@gacevicljubisa gacevicljubisa changed the title feat: p2p wss support v2 feat: add p2p wss support Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants