Skip to content

Update trustee to support nebula VPN feature #814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

portersrc
Copy link
Member

@portersrc portersrc commented Jun 4, 2025

For the nebula VPN feature, additional support is needed in trustee. The main changes here are:

  1. Ensuring the staged-images build for KBS supports the nebula plugin by default. This will simplify end-to-end testing with kata-containers.
  2. Support for building and running the nebula "lighthouse," a helpful discovery service for pods in the nebula VPN.

portersrc added 6 commits June 1, 2025 08:03
It needs a config.yaml. This should be more configurable
but will suffice for now. It needs a helper script for
starting it.

Signed-off-by: Chris Porter <[email protected]>
This is for local use or testing. It should point to a proper
ghcr image in confidential-containers in the future. This
may not be the best folder/location for this file.

Signed-off-by: Chris Porter <[email protected]>
@portersrc portersrc changed the title [Draft] Feature/encrypted mesh [Draft] Update trustee to support nebula VPN feature Jun 4, 2025

images:
- name: lighthouse
newName: ghcr.io/portersrc/lighthouse
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a hand from coco devs if we go this route

- "bin/sh"
- "-c"
- "while (true); do sleep 10000; done"
image: ghcr.io/portersrc/lighthouse:latest
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here; would want ghcr.io/confidential-containers

/usr/local/bin/kbs-client \
--url http://${kbs_url}:${kbs_port} \
get-resource \
--path "plugin/nebula-ca/credential?name=nebula-lighthouse&ip=${lighthouse_vpn_ip}/${lighthouse_prefix_len}" \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may require plugin support in the kbs-client.
See the commit message of #539, section How to test the credential service

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. Will address this in a separate PR.

@portersrc portersrc changed the title [Draft] Update trustee to support nebula VPN feature Update trustee to support nebula VPN feature Jun 12, 2025
@portersrc portersrc marked this pull request as ready for review June 12, 2025 03:07
@portersrc portersrc requested a review from a team as a code owner June 12, 2025 03:07
Run the start-lighthouse.sh script when the container starts.
Pass default values via CMD, but the user is expected to choose
proper values here.

Signed-off-by: Chris Porter <[email protected]>
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.

2 participants