-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gateway2: merge multiple targetRef based Route & VirtualHost options (#…
…9614) Implements merging of targetRef based RouteOptions and VirtualHostOptions in a specific order of precedence from oldest to newest created resource. The merging uses shallow merging such that for an option A that is higher priority than option B, merge(A,B) merges the top-level options of B that have not already been set on A. This allows options later in the precedence chain to augment the existing options during a merge but not overwrite them. Signed-off-by: Shashank Ram <shashank.ram@solo.io>
- Loading branch information
1 parent
a6d9362
commit df12e98
Showing
16 changed files
with
562 additions
and
89 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,16 @@ | ||
changelog: | ||
- type: NEW_FEATURE | ||
issueLink: https://github.com/solo-io/solo-projects/issues/6313 | ||
resolvesIssue: false | ||
description: | | ||
gateway2: merge multiple targetRef based Route & VirtualHost options | ||
Implements merging of targetRef based RouteOptions and | ||
VirtualHostOptions in a specific order of precedence from | ||
oldest to newest created resource. | ||
The merging uses shallow merging such that for an option | ||
A that is higher priority than option B, merge(A,B) merges | ||
the top-level options of B that have not already been set on A. | ||
This allows options later in the precedence chain to augment | ||
the existing options during a merge but not overwrite them. |
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
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
Oops, something went wrong.