extension.tsb.tetrate.io/v2
Resource Types:
WasmExtension
Name | Type | Description | Required |
---|---|---|---|
apiVersion | string | extension.tsb.tetrate.io/v2 | true |
kind | string | WasmExtension | true |
metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
spec | object | false | |
status | object | false |
WasmExtension.spec
Name | Type | Description | Required |
---|---|---|---|
allowedIn | []string | List of fqns where this extension is allowed to run. | false |
config | object | false | |
description | string | A description of the extension. | false |
displayName | string | User friendly name for the extension. | false |
etag | string | The etag for the resource. | false |
fqn | string | Fully-qualified name of the resource. | false |
image | string | Deprecated. | false |
imagePullPolicy | enum | Enum: UNSPECIFIED_POLICY, IfNotPresent, Always | false |
imagePullSecret | string | Credentials to use for OCI image pulling. | false |
match | object | Specifies the criteria to determine which traffic is passed to WasmExtension. | false |
phase | enum | The phase in the filter chain where the extension will be injected. Enum: UNSPECIFIED_PHASE, AUTHN, AUTHZ, STATS | false |
priority | integer | Determines the ordering of WasmExtensions in the same phase. Format: int32 | false |
source | string | false | |
url | string | URL of a Wasm module or OCI container. | false |
vmConfig | object | false |
WasmExtension.spec.match
Specifies the criteria to determine which traffic is passed to WasmExtension.
Name | Type | Description | Required |
---|---|---|---|
mode | enum | Criteria for selecting traffic by their direction. Enum: UNDEFINED, CLIENT, SERVER, CLIENT_AND_SERVER | false |
WasmExtension.spec.vmConfig
Name | Type | Description | Required |
---|---|---|---|
env | []object | Specifies environment variables to be injected to this VM. | false |
WasmExtension.spec.vmConfig.env[index]
Name | Type | Description | Required |
---|---|---|---|
name | string | Name of the environment variable. | false |
value | string | Value for the environment variable. | false |
valueFrom | enum | Source for the environment variable's value. Enum: INLINE, HOST | false |