We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7007d1b commit 1063517Copy full SHA for 1063517
apis/v1alpha2/policy_types.go
@@ -38,6 +38,18 @@ type PolicyTargetReference struct {
38
//
39
// +optional
40
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
+ SectionName string `json:"sectionName,omitempty"`
53
}
54
55
// PolicyConditionType is a type of condition for a policy. This type should be
0 commit comments