feat: adding global envoy policies option#422
Merged
jmpalomares merged 4 commits intomainfrom Mar 10, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for chart-wide (global) Envoy Gateway policy defaults so users can define envoy.backendTrafficPolicy / envoy.clientTrafficPolicy once and have them applied to all HTTPRoutes, with per-route configuration overriding the global settings.
Changes:
- Implement global default + per-route override merge logic for Envoy
BackendTrafficPolicyandClientTrafficPolicygeneration. - Document the new global policy blocks in microservice and monolith
values.yaml. - Bump chart versions for
common,microservice, andmonolith.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| parcellab/common/templates/_httproutes.tpl | Merges global Envoy policy defaults into each route (deep copy + mergeOverwrite), then renders policies from the merged route. |
| parcellab/microservice/values.yaml | Adds commented examples documenting envoy.backendTrafficPolicy and envoy.clientTrafficPolicy global defaults. |
| parcellab/monolith/values.yaml | Adds commented examples documenting envoy.backendTrafficPolicy and envoy.clientTrafficPolicy global defaults. |
| parcellab/common/Chart.yaml | Bumps library chart version to reflect new template capability. |
| parcellab/microservice/Chart.yaml | Bumps chart version for the feature release. |
| parcellab/monolith/Chart.yaml | Bumps chart version for the feature release. |
kpplis
approved these changes
Mar 9, 2026
Contributor
kpplis
left a comment
There was a problem hiding this comment.
Too complex and nested for me to actually understand what it does, so hope you tested it
andibeuge
approved these changes
Mar 9, 2026
Contributor
andibeuge
left a comment
There was a problem hiding this comment.
yeah - we could reduce the complexity by merging the almost identical templates. Funktioniert wise it looks good
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Global Envoy Policy Defaults
_httproutes.tpvalues.yamlTested and verified in
product-apistagingChecklist