This example is for creating a simple WASM filter for the BookInfo example.
- Create a Kubernetes cluster
- Install the WASME CRD's
kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme.io_v1_crds.yaml
- Install the WASME Operator
kubectl apply -f https://github.com/solo-io/wasme/releases/latest/download/wasme-default.yaml
- Install Istio (>
1.5.0
is needed for WASME to work)
istioctl manifest apply --set profile=demo
- Enable injection so that Envoy is attached to your pods
kubectl label namespace default istio-injection=enabled
- Install Bookinfo and Bookinfo Gateways
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/platform/kube/bookinfo.yaml
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.5/samples/bookinfo/networking/bookinfo-gateway.yaml
- Apply the FilterDeployment
kubectl apply -f example/filterdeployment.yaml
- Inspect the response headers for the correct security headers