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

[WIP] Istio e2e #80

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

[WIP] Istio e2e #80

wants to merge 3 commits into from

Conversation

jcchavezs
Copy link
Member

No description provided.

@jcchavezs
Copy link
Member Author

@nacx would you have a look at the e2e? Whenever I add the wasmplugin it fails to pull the image that I explicitly loaded a few steps before.

@nacx
Copy link
Contributor

nacx commented Nov 14, 2022

I'm not sure about the kind load internals, but I think it doesn't use a proper registry there, but has the images ready for k8s. Images pointed by WasmPlugins are downloaded by the Istio sidecar using the go-containerregistry library. That is, it expects a proper container registry and to be able to pull images from there. Can you try configuring the e2e tests to pull images from a public registry, just to discard issues with how kind load?

@nacx
Copy link
Contributor

nacx commented Nov 15, 2022

Having another thought on this, I think we should not have Istio-specific e2e tests here.

Having Istio-specific APIs here like the WASM plugin API just brings complexity and maintenance burden to this project for very little gain. In the end, the objective of this would be to make sure we remain Envoy compatible with whatever Envoy version matrix we agree on, but I think having Isito-specific tests here is out of scope and only brings unnecessary complexity.

@jcchavezs
Copy link
Member Author

jcchavezs commented Nov 15, 2022 via email

@nacx
Copy link
Contributor

nacx commented Nov 15, 2022

If you really want to test that, the way to test it not by requiring Istio and an entire k8s setup. We should just test that the image meets the spec (not that it works with Istio).

@jcchavezs jcchavezs closed this Nov 18, 2022
@jcchavezs
Copy link
Member Author

Related corazawaf/coraza#594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants