Closed Dyanngg closed 12 months ago
Name | Link |
---|---|
Latest commit | 1e3b31780db4cb030cf695a38eb81642c4ffd383 |
Latest deploy log | https://app.netlify.com/sites/kubernetes-sigs-network-policy-api/deploys/64bb04f675bd4100082cd4cb |
Deploy Preview | https://deploy-preview-129--kubernetes-sigs-network-policy-api.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Dyanngg
The full list of commands accepted by this bot can be found here.
The pull request process is described here
err I just realized I don't have an easy way to test this unless this lands and @astoycos includes this in his tagging and I re-pull, so going to approve this for now and then test it.
/lgtm
Currently the
network-policy-api
usesk8s.io/kubernetes
module as a dependency, which is being clearly stated as unsupported in https://github.com/kubernetes/kubernetes/issues/79384.Upon review, it seems that the only module which uses
k8s.io/kubernetes
is conformance, and all references could be refactored so that the project no longer directly imports k8s:k8s.io/kubernetes/test/e2e/framework.ExpectNoError
=>github.com/stretchr/testify/require.NoErrorf
, which is also common in other conformance suites like Gateway API.client-go
to issue exec commands to Pods instead ofk8s.io/kubernetes/test/e2e/framework/kubectl.RunKubectl
This PR also partially addresses #108 as it cleans up the
pokeServer
utility function a bit. Conformance test passes before and after this change, on a local testbed with Antrea deployed: