Skip to main content
logoTetrate Service BridgeVersion: next

extension.tsb.tetrate.io/v2

Resource Types:

WasmExtension

↩ Parent

NameTypeDescriptionRequired
apiVersionstringextension.tsb.tetrate.io/v2true
kindstringWasmExtensiontrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject
false
statusobject
false

WasmExtension.spec

↩ Parent

NameTypeDescriptionRequired
urlstring

URL of a Wasm module or OCI container.

true
allowedIn[]string

List of fqns where this extension is allowed to run.

false
configobject

Configuration parameters sent to the WASM plugin execution The configuration can be overwritten when instantiating the extensions in IngressGateways or Security groups.

false
descriptionstring

A description of the extension.

false
displayNamestring

User friendly name for the extension.

false
etagstring

The etag for the resource.

false
fqnstring

Fully-qualified name of the resource.

false
imagestring

Deprecated.

false
imagePullPolicyenum

The pull behaviour to be applied when fetching Wasm module by either OCI image or http/https.


Enum: UNSPECIFIED_POLICY, IfNotPresent, Always

false
imagePullSecretstring

Credentials to use for OCI image pulling.

false
matchobject

Specifies the criteria to determine which traffic is passed to WasmExtension.

false
phaseenum

The phase in the filter chain where the extension will be injected.


Enum: UNSPECIFIED_PHASE, AUTHN, AUTHZ, STATS

false
priorityinteger

Determines the ordering of WasmExtensions in the same phase.


Format: int32

false
sourcestring
false
vmConfigobject
false

WasmExtension.spec.match

↩ Parent

Specifies the criteria to determine which traffic is passed to WasmExtension.

NameTypeDescriptionRequired
modeenum

Criteria for selecting traffic by their direction.


Enum: UNDEFINED, CLIENT, SERVER, CLIENT_AND_SERVER

false

WasmExtension.spec.vmConfig

↩ Parent

NameTypeDescriptionRequired
env[]object

Specifies environment variables to be injected to this VM.

false

WasmExtension.spec.vmConfig.env[index]

↩ Parent

NameTypeDescriptionRequired
namestring

Name of the environment variable.

true
valueFromenum

Source for the environment variable's value.


Enum: INLINE, HOST

true
valuestring

Value for the environment variable.

false