Skip to content
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

Kata agent config cleanup #1856

Merged

Conversation

stevenhorsman
Copy link
Member

No description provided.

@stevenhorsman stevenhorsman added the test_e2e_libvirt Run Libvirt e2e tests label Jun 10, 2024
@stevenhorsman
Copy link
Member Author

Just an update on this - there is something wrong with the server address not flowing through:

server_addr: \"vsock://-1:1024\"

which explains the comment that was added in the agent-config.toml. I will try and debug it to see if I can work out the cause...

@stevenhorsman
Copy link
Member Author

Ok, I think there is a bug in the kata config processing, so I'll try and fix that up and then re-test this.

@stevenhorsman
Copy link
Member Author

FYI: kata-containers/kata-containers#9819 is my attempt to fix and let envs being processed with the config file

@stevenhorsman stevenhorsman force-pushed the kata-agent-config-cleanup branch 4 times, most recently from 04d62ea to 657cc9f Compare June 12, 2024 15:07
- In kata-containers/kata-containers#8229
the code that read the endpoint restrictions using the agent config
was removed in favour of policy, so these don't have any effect now.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
- We haven't ported signature verification across to the main
branch of kata-containers yet, so remove this config until it's
needed

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
- After discussion in the community meeting the suggestion was
to keep the server address specified in the agent-config file
permanently, so tidy up the comments about using the env instead
to set it

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
@stevenhorsman stevenhorsman marked this pull request as ready for review June 14, 2024 11:50
Copy link

@huoqifeng huoqifeng left a comment

Choose a reason for hiding this comment

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

LGTM
Glad to see endpoints get removed, thanks! @stevenhorsman

Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

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

/lgtm

@bpradipt bpradipt merged commit 91df494 into confidential-containers:main Jun 16, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test_e2e_libvirt Run Libvirt e2e tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants