Skip to content

Commit

Permalink
docs: extProc is an optional field (#3224)
Browse files Browse the repository at this point in the history
docs: extProc is optional field

Signed-off-by: Ardika Bagus <me@ardikabs.com>
Co-authored-by: zirain <zirain2009@gmail.com>
  • Loading branch information
ardikabs and zirain authored Apr 22, 2024
1 parent 2952d65 commit 3bc64a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/v1alpha1/envoyextensionypolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ type EnvoyExtensionPolicySpec struct {

// ExtProc is an ordered list of external processing filters
// that should added to the envoy filter chain
//
// +optional
ExtProc []ExtProc `json:"extProc,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion site/content/en/latest/api/extension_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ _Appears in:_
| --- | --- | --- | --- |
| `targetRef` | _[PolicyTargetReferenceWithSectionName](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1alpha2.PolicyTargetReferenceWithSectionName)_ | true | TargetRef is the name of the Gateway resource this policy<br />is being attached to.<br />This Policy and the TargetRef MUST be in the same namespace<br />for this Policy to have effect and be applied to the Gateway.<br />TargetRef |
| `wasm` | _[Wasm](#wasm) array_ | false | Wasm is a list of Wasm extensions to be loaded by the Gateway.<br />Order matters, as the extensions will be loaded in the order they are<br />defined in this list. |
| `extProc` | _[ExtProc](#extproc) array_ | true | ExtProc is an ordered list of external processing filters<br />that should added to the envoy filter chain |
| `extProc` | _[ExtProc](#extproc) array_ | false | ExtProc is an ordered list of external processing filters<br />that should added to the envoy filter chain |


#### EnvoyFilter
Expand Down

0 comments on commit 3bc64a7

Please sign in to comment.