Comments (1)
Since I haven't gotten an answer here's a workaround that i found
In the described setup, requests originating from WebAssembly (Wasm) are initially sent as HTTP, similar to previous configurations. However, before these requests reach the internet, they are converted into HTTPS. This transformation is accomplished using Envoy's Cluster Socket Transport feature.
This can be achieved in Istio by using a destination rule along with a service entry for the https endpoint
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
name:api
namespace: apispec:
hosts:
- api.com
exportTo:
- api
ports:
- number: 443
name: https-port
protocol: HTTPS
location: MESH_EXTERNAL
resolution: DNS
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: api-destination-rule
namespace: apispec:
host: api.com
trafficPolicy:
tls:
mode: SIMPLE
from proxy-wasm-go-sdk.
Related Issues (20)
- How to support sending requests as a forward proxy HOT 1
- Convert examples to use docker compose? HOT 1
- how to set label on the metrics HOT 4
- OnHttpRequestBody is not called when calling a `direct_response` route HOT 5
- Enhancing the usability of custom metric tags in the Istio environment for WASM. HOT 2
- Question: how to send a ReponseBody when upstream's response body is empty. HOT 1
- The possibility of re-using memory to reduce the impact of increasing memory usage HOT 1
- OnHttpResponseBody will buffer the whole body when ActionPause returned before HOT 5
- Is it possible to build a filter that get the body content and save as header per request? HOT 4
- when ResumeHttpResponse make envoy crash HOT 1
- How to get the source workload name info๏ผ HOT 1
- Difference between different SDKs. HOT 1
- ActionPause will not pause the processing in the filter chain HOT 1
- new release of the repo HOT 2
- Question: Adding Data to SYN Packet
- wasm-plugin does not work except 'istio-proxy' namepsace HOT 2
- readme example build error HOT 2
- Wasm Filter Bad Argument Error returned by DispatchHttpCall Method HOT 1
- Redis connection HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxy-wasm-go-sdk.