Skip to content

Commit

Permalink
Update geps/gep-713.md
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
  • Loading branch information
maleck13 and frankbu authored Oct 23, 2023
1 parent 494b172 commit 052f623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geps/gep-713.md
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ type RouteRule struct {
If a `sectionName` is specified, but does not exist on the targeted object, the Policy must fail to attach,
and the policy implementation should record a `resolvedRefs` or similar Condition in the Policy's status.

When multiple Policies of the same type target the same object, one with a `sectionName`, and one without, the policy with a `sectionName` is more specific, and so will have its entire `spec` applied to the named section. The less-specific Policy will still have its `spec` applied to the target but MUST not affect the named section i.e. the non specific policy will have its `spec` applied to all other sections of the target which have not been targeted by another Policy.
When multiple Policies of the same type target the same object, one with a `sectionName` and one without, the more specific policy (i.e., the one with a `sectionName`) will have its entire `spec` applied to the named section. The less specific Policy will also have its `spec` applied to the target but MUST not affect the named section. The less specific policy will have its `spec` applied to all other sections of the target that are not targeted by any other more specific Policies.

Note that the `sectionName` is currently intended to be used only for Direct Policy Attachment when references to
SectionName are actually needed. Inherited Policies are always applied to the entire object.
Expand Down

0 comments on commit 052f623

Please sign in to comment.