Navigation :
Installation
Tutorials
Reference
-
Command-Line Reference
-
Operator API Reference
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/metadata.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/ref.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/solo-kit.proto
-- core.solo.iogithub.com/solo-io/solo-kit/api/v1/status.proto
-- envoy.api.v2.coreenvoy/api/v2/core/base.proto
-- envoy.api.v2.coreenvoy/api/v2/core/http_uri.proto
-- envoy.api.v2github.com/solo-io/solo-kit/api/external/envoy/api/v2/discovery.proto
-- envoy.typeenvoy/type/percent.proto
-- extprotoextproto/ext.proto
-- gogoprotogithub.com/gogo/protobuf/gogoproto/gogo.proto
-- google.apigithub.com/solo-io/solo-kit/api/external/google/api/annotations.proto
-- google.apigithub.com/solo-io/solo-kit/api/external/google/api/http.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/any.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/descriptor.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/duration.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/empty.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/struct.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/timestamp.proto
-- google.protobufgithub.com/solo-io/solo-kit/api/external/google/protobuf/wrappers.proto
-- io.prometheus.clientgithub.com/solo-io/solo-kit/api/external/metrics.proto
-- opencensus.proto.tracegithub.com/solo-io/solo-kit/api/external/trace.proto
-- validategithub.com/envoyproxy/protoc-gen-validate/validate/validate.proto
-- wasme.iogithub.com/solo-io/wasm/tools/wasme/cli/operator/api/wasme/v1/filter_deployment.proto
-
Wasme Image Config Reference
wasme.iogithub.com/solo-io/wasm/tools/wasme/cli/operator/api/wasme/v1/filter_deployment.proto
Package : wasme.io
Top
Table of Contents
DeploymentSpec
how to deploy the filter
FilterDeploymentSpec
A FilterDeployment tells the Wasme Operator
to deploy a filter with the provided configuration
to the target workloads.
Currently FilterDeployments support Wasm filters on Istio
Field
Type
Label
Description
filter
FilterSpec
the spec of the filter to deploy
deployment
DeploymentSpec
Spec that selects one or more target workloads in the FilterDeployment namespace
FilterDeploymentStatus
the current status of the deployment
Field
Type
Label
Description
observedGeneration
int64
the observed generation of the FilterDeployment
workloads
[]FilterDeploymentStatus.WorkloadsEntry
repeated
for each workload, was the deployment successful?
reason
string
a human-readable string explaining the error, if any
FilterDeploymentStatus.WorkloadsEntry
FilterSpec
the filter to deploy
Field
Type
Label
Description
id
string
unique identifier that will be used
to remove the filter as well as for logging.
if id is not set, it will be set automatically to be the name.namespace
of the FilterDeployment resource
image
string
name of image which houses the compiled wasm filter
config
google.protobuf.Any
Filter/service configuration used to configure or reconfigure a plugin
(proxy_on_configuration).
google.protobuf.Struct
is serialized as JSON before
passing it to the plugin. google.protobuf.BytesValue
and
google.protobuf.StringValue
are passed directly without the wrapper.
rootID
string
the root id must match the root id
defined inside the filter.
if the user does not provide this field,
wasme will attempt to pull the image
and set it from the filter_conf
the first time it must pull the image and inspect it
second time it will cache it locally
if the user provides
imagePullOptions
ImagePullOptions
custom options if pulling from private / custom repositories
patchContext
string
a class of configurations based on the traffic flow direction
and workload type.
defaults to inbound
.
See https://istio.io/latest/docs/reference/config/networking/envoy-filter/#EnvoyFilter-PatchContext for more details.
ImagePullOptions
Field
Type
Label
Description
pullSecret
string
if a username/password is required,
specify here the name of a secret:
with keys:
username: <username>
password: <password>
the secret must live in the same namespace
as the FilterDeployment |
| insecureSkipVerify | bool | | skip verifying the image server's TLS certificate |
| plainHttp | bool | | use HTTP instead of HTTPS |
IstioDeploymentSpec
how to deploy to Istio
Field
Type
Label
Description
kind
string
the kind of workload to deploy the filter to
can either be Deployment, DaemonSet or Statefulset
labels
[]IstioDeploymentSpec.LabelsEntry
repeated
deploy the filter to workloads with these labels
the workload must live in the same namespace as the FilterDeployment
if empty, the filter will be deployed to all workloads in the namespace
istioNamespace
string
the namespace where the Istio control plane is installed.
defaults to istio-system
.
IstioDeploymentSpec.LabelsEntry
WorkloadStatus
WorkloadStatus.State
the state of the filter deployment
Name
Number
Description
Pending
0
Succeeded
1
Failed
2