-
Notifications
You must be signed in to change notification settings - Fork 620
Closed
Labels
area/apiAPI-related issuesAPI-related issuesarea/policydocumentationImprovements or additions to documentationImprovements or additions to documentationkind/enhancementNew feature or requestNew feature or request
Milestone
Description
Description:
With policies such as the ClientTrafficPolicy, a user can target a section within a target e.g. a Listener within a Gateway which applies or overrides the target with the spec of the policy.
Another use case is where a user wants to only override some fields i.e. the top level policy might setup defaults for fields like keep alive but a specific policy for a specific target/section may want to only apply an extra setting such as retries
One way to achieve this is to add a type field within the policy resource which can be set to Replace or Merge, which defaults to Replace (apply entire spec)
[optional Relevant Links:]
Any extra documentation required to understand the issue.
Metadata
Metadata
Labels
area/apiAPI-related issuesAPI-related issuesarea/policydocumentationImprovements or additions to documentationImprovements or additions to documentationkind/enhancementNew feature or requestNew feature or request