Closed sxd closed 9 months ago
Thank you for this PR @sxd . We would like to have at least on integration test, see https://github.com/canonical/microk8s-community-addons/tree/main/tests and you also need to update https://github.com/canonical/microk8s-community-addons/blob/main/addons.yaml
hi! @ktsakalozos
I've tried to run the test locally, but it can't find the repo, is that normal? should I run it from this pipeline or there's a way to run it locally?
Regards!
I've tried to run the test locally, but it can't find the repo, is that normal? should I run it from this pipeline or there's a way to run it locally?
You can add the addons repository with microk8s addons repo add <repo> --reference <branch>
then you should be able to run the tests locally.
Hi @ktsakalozos
Any idea why it can't find the operator in the test? I test it locally and it works
Regards!
We are all set @sxd . The tests were not passing because the operator does not work on strict confinement.
The addon will be available with the 1.29 release!
@ktsakalozos can you point me to the doc about what it's an "strict confinement" ? we may want to make it work
@sxd try installing MicroK8s without the --classic
and see if you get apparmor denials when you start the operator. Have a look at https://snapcraft.io/docs/debug-snaps on how you can debug a strictly confined snap.
Thank you for making MicroK8s better
Please reference the issue this PR is fixing, or provide a description of the problem addressed.
Also verify you have: