Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
248 changes: 135 additions & 113 deletions extensions/v1alpha1/wasm.pb.go

Large diffs are not rendered by default.

28 changes: 17 additions & 11 deletions extensions/v1alpha1/wasm.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 20 additions & 10 deletions extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -243,20 +243,30 @@ message WasmPlugin {
// namespace, it will be applied to all applicable workloads in any
// namespace.
//
// At most, only one of the selector or `targetRef` can be set for a given policy.
// At most, only one of `selector` or `targetRefs` can be set for a given policy.
istio.type.v1beta1.WorkloadSelector selector = 1;

// Optional. The `targetRef` specifies the gateway the policy should be
// applied to. The targeted resource specified will determine which
// workloads the WasmPlugin applies to. The targeted resource must be
// a `Gateway` in the group `gateway.networking.k8s.io`. The gateway
// must be in the same namespace as the policy.
//
// If the `targetRef` is not set, the policy is applied as defined by the selector.
// At most, only one of the selector or `targetRef` can be set for a given policy.
// Waypoint proxies will not respect selectors even if they match.
// $hide_from_docs
istio.type.v1beta1.PolicyTargetReference targetRef = 15;

// Optional. The targetRef specifies the gateway the policy should be
// applied to. The targeted resource specified will determine which
// workloads the policy applies to.
//
// Currently, the following resource attachment types are supported:
// * `kind: Gateway` with `group: gateway.networking.k8s.io` in the same namespace.
//
// If not set, the policy is applied as defined by the selector.
// At most one of the selector and targetRefs can be set.
Comment thread
howardjohn marked this conversation as resolved.
//
// NOTE: If you are using the `targetRefs` field in a multi-revision environment with Istio versions prior to 1.22,
// it is highly recommended that you pin the policy to a revision running 1.22+ via the `istio.io/rev` label.
// This is to prevent proxies connected to older control planes (that don't know about the `targetRefs` field)
// from misinterpreting the policy as namespace-wide during the upgrade process.
//
// NOTE: Waypoint proxies are required to use this field for policies to apply; `selector` policies will be ignored.
repeated istio.type.v1beta1.PolicyTargetReference targetRefs = 16;

// URL of a Wasm module or OCI container. If no scheme is present,
// defaults to `oci://`, referencing an OCI image. Other valid schemes
// are `file://` for referencing .wasm module files present locally
Expand Down
133 changes: 126 additions & 7 deletions kubernetes/customresourcedefinitions.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading