You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(gateway-api): support full ParentRef fields in HTTPRoute (#394)
* feat: ability to configure gateway-api listener to bind to
Signed-off-by: Jarno van de Moosdijk <jarnovandemoosdijk@gmail.com>
* feat: full support for ParentRef fields of gateway-api HTTPRoutes
Signed-off-by: Jan Larwig <jan@larwig.com>
---------
Signed-off-by: Jarno van de Moosdijk <jarnovandemoosdijk@gmail.com>
Signed-off-by: Jan Larwig <jan@larwig.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
|`alphaConfig.configData`| Arbitrary configuration data to append |`{}`|
@@ -198,8 +198,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
198
198
|`extraVolumes`| list of extra volumes |`[]`|
199
199
|`gatewayApi.annotations`| Additional annotations to add to the HTTPRoute |`{}`|
200
200
|`gatewayApi.enabled`| Enable Gateway API HTTPRoute |`false`|
201
-
|`gatewayApi.gatewayRef.name`| Name of the Gateway resource to attach the HTTPRoute to |`""`|
202
-
|`gatewayApi.gatewayRef.namespace`| Namespace of the Gateway resource |`""`|
201
+
|`gatewayApi.gatewayRef`| The ParentRef of the HTTPRoute according to: https://gateway-api.sigs.k8s.io/reference/spec/#parentreference|`{}`|
203
202
|`gatewayApi.hostnames`| Hostnames to match in the HTTPRoute |`[]`|
204
203
|`gatewayApi.labels`| Additional labels to add to the HTTPRoute |`{}`|
205
204
|`gatewayApi.rules`| HTTPRoute rule configuration. If not specified, a default rule with PathPrefix `/` will be created |`[]`|
@@ -353,6 +352,7 @@ gatewayApi:
353
352
gatewayRef:
354
353
name: my-gateway
355
354
namespace: gateway-system
355
+
sectionName: my-gateway-https-listener-name
356
356
hostnames:
357
357
- oauth.example.com
358
358
rules:
@@ -372,7 +372,8 @@ gatewayApi:
372
372
example.com/annotation: "value"
373
373
```
374
374
375
-
If you don't specify custom rules, the chart will create a default rule that matches all paths with `PathPrefix: /` and routes to the oauth2-proxy service.
375
+
If you don't specify custom rules, the chart will create a default rule that matches all paths with `PathPrefix: /` and routes to the oauth2-proxy service.
376
+
If you don't specify a sectionName, the rules will be applied to all listeners of the referenced Gateway.
0 commit comments