forked from k8sgateway/k8sgateway
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backport] gateway2: allow child policies to always set fields unset …
…on the parent (#10550)
- Loading branch information
1 parent
5ea47f2
commit 8967d10
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
changelog: | ||
- type: FIX | ||
issueLink: https://github.com/solo-io/solo-projects/issues/7601 | ||
resolvesIssue: false | ||
description: | | ||
When merging parent-child policies, the merging should allow child | ||
policies to augment parent policies such that fields unset on the | ||
parent can be set by the child. There is a bug when using policy | ||
override capability with route delegation that disallows this when | ||
the annotation specifies non-wildcard fields, such that even if | ||
a field is unset by the parent only the fields specified in the | ||
override annotation are merged in - which is incorrect because | ||
the annotation only applies to fields that are being overriden | ||
(set by the parent). This change fixes the bug. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters