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
tests:k8s: make add_kernel_initrd_anotations function generic #9061
Conversation
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.
@GabyCT, I've left a few comments.
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.
A few more comments. :-)
This PR replaces the add_kernel_initrd_annotations_to_yaml function more generic so later can be used for other components. Fixes kata-containers#9054 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
@fidencio changes applied |
/test |
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.
lgtm, @GabyCT, thanks!
And looking at the logs of the tests:
# io.katacontainers.config.hypervisor.initrd: /opt/kata/share/kata-containers/kata-containers-initrd-mariner.img
# io.katacontainers.config.hypervisor.kernel: /usr/share/cloud-hypervisor/vmlinux.bin
We can see that the annotations are still being passed correctly!
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.
LGTM. Thanks @GabyCT
This PR replaces the add_kernel_initrd_annotations_to_yaml function more generic so later can be used for other components.
Fixes #9054