-
Notifications
You must be signed in to change notification settings - Fork 116
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
base: main
Are you sure you want to change the base?
Update trustee to support nebula VPN feature #814
Conversation
Signed-off-by: Chris Porter <[email protected]>
Signed-off-by: Chris Porter <[email protected]>
Signed-off-by: Chris Porter <[email protected]>
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]>
Signed-off-by: Chris Porter <[email protected]>
|
||
images: | ||
- name: lighthouse | ||
newName: ghcr.io/portersrc/lighthouse |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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}" \ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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]>
For the nebula VPN feature, additional support is needed in trustee. The main changes here are:
staged-images
build for KBS supports the nebula plugin by default. This will simplify end-to-end testing with kata-containers.