diff --git a/content/en/docs/ambient/usage/extend-waypoint-wasm/index.md b/content/en/docs/ambient/usage/extend-waypoint-wasm/index.md index 5591eab9e9..afd4e9c280 100644 --- a/content/en/docs/ambient/usage/extend-waypoint-wasm/index.md +++ b/content/en/docs/ambient/usage/extend-waypoint-wasm/index.md @@ -4,7 +4,7 @@ description: Describes how to make remote WebAssembly modules available for ambi weight: 55 keywords: [extensibility,Wasm,WebAssembly,Ambient] owner: istio/wg-policies-and-telemetry-maintainers -test: no +test: yes status: Alpha --- diff --git a/content/en/docs/ambient/usage/extend-waypoint-wasm/snips.sh b/content/en/docs/ambient/usage/extend-waypoint-wasm/snips.sh new file mode 100644 index 0000000000..84611e6c19 --- /dev/null +++ b/content/en/docs/ambient/usage/extend-waypoint-wasm/snips.sh @@ -0,0 +1,224 @@ +#!/bin/bash +# shellcheck disable=SC2034,SC2153,SC2155,SC2164 + +# Copyright Istio Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#################################################################################################### +# WARNING: THIS IS AN AUTO-GENERATED FILE, DO NOT EDIT. PLEASE MODIFY THE ORIGINAL MARKDOWN FILE: +# docs/ambient/usage/extend-waypoint-wasm/index.md +#################################################################################################### + +snip_configure_wasmplugin_for_gateway_1() { +kubectl get gateway +} + +! IFS=$'\n' read -r -d '' snip_configure_wasmplugin_for_gateway_1_out <<\ENDSNIP +NAME CLASS ADDRESS PROGRAMMED AGE +bookinfo-gateway istio 172.18.7.110 True 23h +ENDSNIP + +snip_configure_wasmplugin_for_gateway_2() { +kubectl apply -f - <