diff --git a/api/v1alpha1/authorization_types.go b/api/v1alpha1/authorization_types.go index 989cba6017aa..7e2fc7f49848 100644 --- a/api/v1alpha1/authorization_types.go +++ b/api/v1alpha1/authorization_types.go @@ -8,7 +8,8 @@ package v1alpha1 // Authorization defines the authorization configuration. type Authorization struct { // Rules contains all the authorization rules. - // Rules are evaluated in order, the first matching rule will be applied. + // Rules are evaluated in order, the first matching rule will be applied, + // and the rest will be skipped. // // +kubebuilder:validation:MinItems=1 Rules []Rule `json:"rules,omitempty"` diff --git a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml index d29eb5d3e2dc..14fdb8a7b955 100644 --- a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml +++ b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_securitypolicies.yaml @@ -55,7 +55,8 @@ spec: rules: description: |- Rules contains all the authorization rules. - Rules are evaluated in order, the first matching rule will be applied. + Rules are evaluated in order, the first matching rule will be applied, + and the rest will be skipped. items: description: Rule defines the single authorization rule. properties: diff --git a/site/content/en/latest/api/extension_types.md b/site/content/en/latest/api/extension_types.md index 105a97b80dbe..301667824859 100644 --- a/site/content/en/latest/api/extension_types.md +++ b/site/content/en/latest/api/extension_types.md @@ -182,7 +182,7 @@ _Appears in:_ | Field | Type | Required | Description | | --- | --- | --- | --- | -| `rules` | _[Rule](#rule) array_ | true | Rules contains all the authorization rules.
Rules are evaluated in order, the first matching rule will be applied. | +| `rules` | _[Rule](#rule) array_ | true | Rules contains all the authorization rules.
Rules are evaluated in order, the first matching rule will be applied,
and the rest will be skipped. | #### BackOffPolicy