Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Rule sorting #60

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest

## RELEASE NOTES

## [2.3.0] TBD
[2.3.0]: https://github.com/datawire/edge-stack/releases/v2.3.0

## Ambassador Edge Stack

- Feature: `FilterPolicy` `Rules` now have a `Precedence` field which can be set to control the order of rule
evaluation: higher-precedence rules are executed first. If the `Precedence` is not set, the order
of the `Rule` within the `FilterPolicy` resource is honored.

## [2.2.0] 2022-02-10
[2.2.0]: https://github.com/datawire/edge-stack/releases/v2.2.0

Expand Down
6 changes: 3 additions & 3 deletions charts/edge-stack/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: emissary-ingress
repository: https://s3.amazonaws.com/datawire-static-files/charts-dev
version: 7.3.1-0.20220211211150-a9c031b59932
digest: sha256:e556c725227daaa52f2a12d3c5e2dcbb72510dc2f9695ba0dbc9396d1e01d139
generated: "2022-02-11T14:57:09.278406113-07:00"
version: 7.3.1-0.20220214230922-f7bdce81c4e5
digest: sha256:5d8bd5b2c44a673878664c940dfc8c4a9d41c9b86f732d8b6af59cbae91439e9
generated: "2022-02-15T18:03:25.027417-05:00"
2 changes: 1 addition & 1 deletion charts/edge-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ maintainers:
engine: gotpl
dependencies:
- name: emissary-ingress
version: 7.3.1-0.20220211211150-a9c031b59932
version: 7.3.1-0.20220214230922-f7bdce81c4e5
repository: https://s3.amazonaws.com/datawire-static-files/charts-dev
11 changes: 11 additions & 0 deletions docs/releaseNotes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@

changelog: https://github.com/datawire/edge-stack/blob/$branch$/CHANGELOG.md
items:
- version: 2.3.0
date: 'TBD'
notes:
- title: The order of FilterPolicy Rules can be controlled
type: feature
body: >-
<code>FilterPolicy</code> <code>Rules</code> now have a <code>Precedence</code> field which
can be set to control the order of rule evaluation: higher-precedence rules are executed first.
If the <code>Precedence</code> is not set, the order of the <code>Rule</code> within the
<code>FilterPolicy</code> resource is honored.

- version: 2.2.0
date: '2022-02-10'
notes:
Expand Down
4 changes: 4 additions & 0 deletions manifests/edge-stack/aes-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ spec:
type: string
path:
type: string
v3Precedence:
type: integer
type: object
type: array
type: object
Expand Down Expand Up @@ -222,6 +224,8 @@ spec:
type: string
path:
type: string
precedence:
type: integer
type: object
type: array
type: object
Expand Down