Skip to content

Add the ability to override only a portion of the spec using Policies #1934

@arkodg

Description

@arkodg

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

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions