Skip to content

Conversation

@akrem-chabchoub
Copy link
Contributor

@akrem-chabchoub akrem-chabchoub commented Jan 14, 2026

Description

This update adds P2P WebSocket Secure (WSS) configuration, Auto TLS support for automatic certificate management, and fixes Kubernetes environment variable handling.

  1. P2P WSS Configuration: Added p2p-wss-enable and p2p-wss-addr settings for secure WebSocket connections.

  2. Auto TLS Support: Implemented automatic TLS certificate management in Kubernetes init containers via ACME protocol.

  3. EnvVar Handling Fix: Fixed bug by adding validation to prevent empty ValueFrom objects in Kubernetes EnvVar conversion.

Screenshot

image

Files Changed

  1. config/config.yaml - Added P2P WSS and Auto TLS configuration options
  2. config/local.yaml - Updated autotls-registration-endpoint to include port :8080
  3. pkg/k8s/containers/env.go - Added hasValues() method and improved toK8S() conversion
  4. pkg/orchestration/k8s/helpers.go - Added Auto TLS support in init containers
  5. pkg/orchestration/k8s/orchestrator.go - Integrated Auto TLS configuration

@akrem-chabchoub akrem-chabchoub changed the title Akrem/p2p wss support feat(k8s): add autotls support with init containers and fix EnvVar handling Jan 14, 2026
@akrem-chabchoub akrem-chabchoub self-assigned this Jan 14, 2026
@akrem-chabchoub akrem-chabchoub changed the title feat(k8s): add autotls support with init containers and fix EnvVar handling feat(autotls): add autotls support with pebble and p2p-forge Jan 14, 2026
@akrem-chabchoub akrem-chabchoub added this to the bee-v2.7.0 milestone Jan 14, 2026
@gacevicljubisa gacevicljubisa merged commit 9a9c822 into feat/p2p-wss-support Jan 16, 2026
3 checks passed
@gacevicljubisa gacevicljubisa deleted the akrem/p2p-wss-support branch January 16, 2026 17:50
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.

4 participants