@@ -84,7 +84,7 @@ type FlowSchemaList struct {
84
84
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
85
85
86
86
// `items` is a list of FlowSchemas.
87
- // +listType=set
87
+ // +listType=atomic
88
88
Items []FlowSchema `json:"items" protobuf:"bytes,2,rep,name=items"`
89
89
}
90
90
@@ -107,7 +107,7 @@ type FlowSchemaSpec struct {
107
107
// `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if
108
108
// at least one member of rules matches the request.
109
109
// if it is an empty slice, there will be no requests matching the FlowSchema.
110
- // +listType=set
110
+ // +listType=atomic
111
111
// +optional
112
112
Rules []PolicyRulesWithSubjects `json:"rules,omitempty" protobuf:"bytes,4,rep,name=rules"`
113
113
}
@@ -152,18 +152,18 @@ type PolicyRulesWithSubjects struct {
152
152
// subjects is the list of normal user, serviceaccount, or group that this rule cares about.
153
153
// There must be at least one member in this slice.
154
154
// A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request.
155
- // +listType=set
155
+ // +listType=atomic
156
156
// Required.
157
157
Subjects []Subject `json:"subjects" protobuf:"bytes,1,rep,name=subjects"`
158
158
// `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the
159
159
// target resource.
160
160
// At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
161
- // +listType=set
161
+ // +listType=atomic
162
162
// +optional
163
163
ResourceRules []ResourcePolicyRule `json:"resourceRules,omitempty" protobuf:"bytes,2,opt,name=resourceRules"`
164
164
// `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb
165
165
// and the target non-resource URL.
166
- // +listType=set
166
+ // +listType=atomic
167
167
// +optional
168
168
NonResourceRules []NonResourcePolicyRule `json:"nonResourceRules,omitempty" protobuf:"bytes,3,opt,name=nonResourceRules"`
169
169
}
@@ -350,7 +350,7 @@ type PriorityLevelConfigurationList struct {
350
350
// +optional
351
351
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
352
352
// `items` is a list of request-priorities.
353
- // +listType=set
353
+ // +listType=atomic
354
354
Items []PriorityLevelConfiguration `json:"items" protobuf:"bytes,2,rep,name=items"`
355
355
}
356
356
0 commit comments