Skip to content

feat: add optional name to httproute rules#407

Open
tboerger wants to merge 1 commit intooauth2-proxy:mainfrom
tboerger:feat/gateway-rule-name
Open

feat: add optional name to httproute rules#407
tboerger wants to merge 1 commit intooauth2-proxy:mainfrom
tboerger:feat/gateway-rule-name

Conversation

@tboerger
Copy link
Copy Markdown

Description

In order to apply security policies from gateway api implementations like Envoy Gateway to the HTTPRoute I have added an optional name attribute to the rules. These name attributes can be matched by the sectionName of other resources.

As an example this can't match without a named rule to specific rules:

apiVersion: gateway.envoyproxy.io/v1alpha1
kind: SecurityPolicy
metadata:
  name: example
spec:
  targetRefs:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
      name: oauth2-proxy
      sectionName: service

Checklist:

  • I have bumped the version in the Chart.yaml according to Semantic Versioning.
  • I have updated the documentation/CHANGELOG at the bottom of the Chart.yaml
  • I have signed off all my commits.
  • (Optional) I have updated the Chart.lock for dependency updates
  • (Optional) I have implemented helm tests for new feature flags

@tboerger tboerger force-pushed the feat/gateway-rule-name branch from 15139d5 to b8c794b Compare May 10, 2026 22:35
In order to apply security policies from gateway api implementations
like Envoy Gateway to the HTTPRoute I have added an optional name
attribute to the rules. These name attributes can be matched by the
sectionName of other resources.

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
@tboerger tboerger force-pushed the feat/gateway-rule-name branch from b8c794b to ab4af24 Compare May 10, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant