@@ -55,7 +55,7 @@ type HTTPRouteHost struct {
55
55
// Rules are a list of HTTP matchers, filters and actions.
56
56
Rules []HTTPRouteRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
57
57
58
- // Extension is an optional, implementation-specific extension to the
58
+ // ExtensionRef is an optional, implementation-specific extension to the
59
59
// "host" block. The resource may be "configmaps" (omit or specify the
60
60
// empty string for the group) or an implementation-defined resource
61
61
// (for example, resource "myroutehosts" in group "networking.acme.io").
@@ -67,7 +67,7 @@ type HTTPRouteHost struct {
67
67
// Support: custom
68
68
//
69
69
// +optional
70
- Extension * RouteHostExtensionObjectReference `json:"extension " protobuf:"bytes,3,opt,name=extension "`
70
+ ExtensionRef * RouteHostExtensionObjectReference `json:"extensionRef " protobuf:"bytes,3,opt,name=extensionRef "`
71
71
}
72
72
73
73
// HTTPRouteRule is the configuration for a given path.
@@ -125,7 +125,7 @@ type HTTPRouteMatch struct {
125
125
// +optional
126
126
Header map [string ]string `json:"header" protobuf:"bytes,4,rep,name=header"`
127
127
128
- // Extension is an optional, implementation-specific extension to the
128
+ // ExtensionRef is an optional, implementation-specific extension to the
129
129
// "match" behavior. The resource may be "configmap" (use the empty
130
130
// string for the group) or an implementation-defined resource (for
131
131
// example, resource "myroutematchers" in group "networking.acme.io").
@@ -137,7 +137,7 @@ type HTTPRouteMatch struct {
137
137
// Support: custom
138
138
//
139
139
// +optional
140
- Extension * RouteMatchExtensionObjectReference `json:"extension " protobuf:"bytes,5,opt,name=extension "`
140
+ ExtensionRef * RouteMatchExtensionObjectReference `json:"extensionRef " protobuf:"bytes,5,opt,name=extensionRef "`
141
141
}
142
142
143
143
// RouteMatchExtensionObjectReference identifies a route-match extension object
@@ -155,7 +155,7 @@ type HTTPRouteFilter struct {
155
155
// +optional
156
156
Headers * HTTPHeaderFilter `json:"headers" protobuf:"bytes,1,opt,name=headers"`
157
157
158
- // Extension is an optional, implementation-specific extension to the
158
+ // ExtensionRef is an optional, implementation-specific extension to the
159
159
// "filter" behavior. The resource may be "configmap" (use the empty
160
160
// string for the group) or an implementation-defined resource (for
161
161
// example, resource "myroutefilters" in group "networking.acme.io").
@@ -167,7 +167,7 @@ type HTTPRouteFilter struct {
167
167
// Support: custom
168
168
//
169
169
// +optional
170
- Extension * RouteFilterExtensionObjectReference `json:"extension " protobuf:"bytes,2,opt,name=extension "`
170
+ ExtensionRef * RouteFilterExtensionObjectReference `json:"extensionRef " protobuf:"bytes,2,opt,name=extensionRef "`
171
171
}
172
172
173
173
// RouteFilterExtensionObjectReference identifies a route-filter extension
@@ -220,17 +220,17 @@ type HTTPHeaderFilter struct {
220
220
221
221
// HTTPRouteAction is the action taken given a match.
222
222
type HTTPRouteAction struct {
223
- // ForwardTo sends requests to the referenced object. The resource may
224
- // be "services" (omit or use the empty string for the group), or an
225
- // implementation may support other resources (for example, resource
226
- // "myroutetargets" in group "networking.acme.io"). Omitting or
227
- // specifying the empty string for both the resource and group indicates
228
- // that the resource is "services". If the referent cannot be found,
229
- // the "InvalidRoutes" status condition on any Gateway that includes the
230
- // HTTPRoute will be true.
231
- ForwardTo * RouteActionTargetObjectReference `json:"forwardTo " protobuf:"bytes,1,opt,name=forwardTo "`
232
-
233
- // Extension is an optional, implementation-specific extension to the
223
+ // ForwardTargetRef sends requests to the referenced object. The
224
+ // resource may be "services" (omit or use the empty string for the
225
+ // group), or an implementation may support other resources (for
226
+ // example, resource "myroutetargets" in group "networking.acme.io").
227
+ // Omitting or specifying the empty string for both the resource and
228
+ // group indicates that the resource is "services". If the referent
229
+ // cannot be found, the "InvalidRoutes" status condition on any Gateway
230
+ // that includes the HTTPRoute will be true.
231
+ ForwardTargetRef * RouteActionTargetObjectReference `json:"forwardTargetRef " protobuf:"bytes,1,opt,name=forwardTargetRef "`
232
+
233
+ // ExtensionRef is an optional, implementation-specific extension to the
234
234
// "action" behavior. The resource may be "configmaps" (use the empty
235
235
// string for the group) or an implementation-defined resource (for
236
236
// example, resource "myrouteactions" in group "networking.acme.io").
@@ -242,7 +242,7 @@ type HTTPRouteAction struct {
242
242
// Support: custom
243
243
//
244
244
// +optional
245
- Extension * RouteActionExtensionObjectReference `json:"extension " protobuf:"bytes,2,opt,name=extension "`
245
+ ExtensionRef * RouteActionExtensionObjectReference `json:"extensionRef " protobuf:"bytes,2,opt,name=extensionRef "`
246
246
}
247
247
248
248
// RouteActionTargetObjectReference identifies a target object for a route
@@ -265,7 +265,7 @@ type RouteHostExtensionObjectReference = LocalObjectReference
265
265
266
266
// HTTPRouteStatus defines the observed state of HTTPRoute.
267
267
type HTTPRouteStatus struct {
268
- Gateways []GatewayObjectReference `json:"gateways " protobuf:"bytes,1,rep,name=gateways "`
268
+ GatewayRefs []GatewayObjectReference `json:"gatewayRefs " protobuf:"bytes,1,rep,name=gatewayRefs "`
269
269
}
270
270
271
271
// GatewayObjectReference identifies a Gateway object.
0 commit comments