@@ -16,11 +16,11 @@ limitations under the License.
1616
1717package v1alpha2
1818
19- // PolicyTargetReference identifies an API object to apply policy to. This
20- // should be used as part of Policy resources that can target Gateway API
21- // resources. For more information on how this policy attachment model works,
22- // and a sample Policy resource, refer to the policy attachment documentation
23- // for Gateway API.
19+ // PolicyTargetReference identifies an API object to apply a direct or
20+ // inherited policy to. This should be used as part of Policy resources
21+ // that can target Gateway API resources. For more information on how this
22+ // policy attachment model works, and a sample Policy resource, refer to
23+ // the policy attachment documentation for Gateway API.
2424type PolicyTargetReference struct {
2525 // Group is the group of the target resource.
2626 Group Group `json:"group"`
@@ -40,19 +40,19 @@ type PolicyTargetReference struct {
4040 Namespace * Namespace `json:"namespace,omitempty"`
4141}
4242
43- // DirectPolicyTargetReference identifies an API object to apply direct policy to.
43+ // DirectPolicyTargetReference identifies an API object to apply a direct policy to.
4444// This should be used as part of Policy resources that can target single resources.
4545// For more information on how this policy attachment model works, and a sample
4646// Policy resource, refer to the policy attachment documentation for Gateway API.
4747//
4848// Note: This should be used for direct policy attachment only.
49- // <gateway:experimental>
5049type DirectPolicyTargetReference struct {
5150 PolicyTargetReference `json:",inline"`
5251
5352 // SectionName is the name of a section within the target resource. When
5453 // unspecified, this targetRef targets the entire resource. In the following
5554 // resources, SectionName is interpreted as the following:
55+ //
5656 // * Gateway: Listener Name
5757 // * Service: Port Name
5858 //
0 commit comments