File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,19 @@ type PolicyTargetReference struct {
3838 //
3939 // +optional
4040 Namespace * Namespace `json:"namespace,omitempty"`
41+
42+ // SectionName is the name of a section within the target resource. When
43+ // unspecified, this targets the entire resource. In the following
44+ // resources, SectionName is interpreted as the following:
45+ // * Gateway: Listener Name
46+ // * Route: Rule Name
47+ // * Service: Port Name
48+ //
49+ // +kubebuilder:validation:MinLength=1
50+ // +kubebuilder:validation:MaxLength=253
51+ // +optional
52+ // <gateway:experimental>
53+ SectionName string `json:"sectionName,omitempty"`
4154}
4255
4356// PolicyConditionType is a type of condition for a policy. This type should be
You can’t perform that action at this time.
0 commit comments