mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
30 lines
962 B
Plaintext
30 lines
962 B
Plaintext
// Module included in the following assembly:
|
|
//
|
|
// service_mesh/v2x/ossm-threescale-webassembly-module.adoc
|
|
|
|
[id="ossm-threescale-webassembly-module-api-object_{context}"]
|
|
= The 3scale WebAssembly module api object
|
|
|
|
The `api` top-level string from the 3scale WebAssembly module defines which version of the configuration the module will use.
|
|
|
|
[NOTE]
|
|
====
|
|
A non-existent or unsupported version of the `api` object renders the 3scale WebAssembly module inoperable.
|
|
====
|
|
|
|
.The `api` top-level string example
|
|
[source,yaml]
|
|
----
|
|
apiVersion: extensions.istio.io/v1alpha1
|
|
kind: WasmPlugin
|
|
metadata:
|
|
name: <threescale_wasm_plugin_name>
|
|
namespace: <bookinfo>
|
|
spec:
|
|
pluginConfig:
|
|
api: v1
|
|
# ...
|
|
----
|
|
|
|
The `api` entry defines the rest of the values for the configuration. The only accepted value is `v1`. New settings that break compatibility with the current configuration or need more logic that modules using `v1` cannot handle, will require different values.
|