gateway icon indicating copy to clipboard operation
gateway copied to clipboard

Allow to pull wasm image from insecure registry while using envoy extension policy

Open elvenlegolas opened this issue 1 year ago • 4 comments

Description: I got an x509: certificate signed by unknown authority error because the wasm image registry was insecure while using envoy extension policy,I've read about the api docs but couldn't find where I can configure trusted registry in,so I wonder if it can be configured or is a feature to be provided? Thanks! [optional Relevant Links:] https://github.com/istio/istio/issues/36571 is a similar situation.

elvenlegolas avatar Oct 17 '24 07:10 elvenlegolas

cc @zhaohuabing

zirain avatar Oct 17 '24 09:10 zirain

Hello,I would like to know if there is any way to work around this problem?All the certificates we have in test environment are untrusted,so the wasm usage now is blocked.

elvenlegolas avatar Oct 21 '24 05:10 elvenlegolas

Hi @elvenlegolas As a temporary workaround, Can you use a HTTP code source for testing?

zhaohuabing avatar Oct 21 '24 06:10 zhaohuabing

Hi @elvenlegolas As a temporary workaround, Can you use a HTTP code source for testing?

Ok I'll try it,btw the example wasm http url given in envoy gateway doc https://raw.githubusercontent.com/envoyproxy/envoy/main/examples/wasm-cc/lib/envoy_filter_http_wasm_example.wasm seems invalid now ,would you fix it as a reference?

elvenlegolas avatar Oct 21 '24 06:10 elvenlegolas

Hi! I'd love to take this issue as my first open-source code contribution.

I'm a networking and security professional getting into Go and cloud-native development, and this looks like a great place to start. I'd really appreciate it if you could assign this to me.

Thanks!

kamxnet avatar Apr 25 '25 06:04 kamxnet

i believe this is already solved, right @zhaohuabing ?

arkodg avatar Apr 25 '25 18:04 arkodg

@arkodg The API is in. We still need implementation.

https://github.com/envoyproxy/gateway/blob/309750a6c7157463a3dd86ff8500cb5c58e05bf0/api/v1alpha1/wasm_types.go#L131-L135

zhaohuabing avatar May 16 '25 11:05 zhaohuabing

thanks! Let me take a look.

kamxnet avatar May 23 '25 08:05 kamxnet

it looks like @kamxnet is no longer working on this, can I pick this up instead @zhaohuabing?

PhantomInTheWire avatar Jul 13 '25 10:07 PhantomInTheWire

Thanks @PhantomInTheWire for picking this up! Feel free to proceed.

zhaohuabing avatar Jul 13 '25 14:07 zhaohuabing