Skip to content

Commit b8c794b

Browse files
committed
feat: add optional name to httproute rules
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>
1 parent b2987f8 commit b8c794b

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

helm/oauth2-proxy/Chart.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 10.4.3
2+
version: 10.5.0
33
apiVersion: v2
44
appVersion: 7.15.2
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -30,6 +30,11 @@ maintainers:
3030
kubeVersion: ">=1.16.0-0"
3131
annotations:
3232
artifacthub.io/changes: |
33+
- kind: changed
34+
description: Added name attribute for HTTPRoute rules
35+
links:
36+
- name: GitHub PR
37+
url: https://github.com/oauth2-proxy/manifests/pull/407
3338
- kind: changed
3439
description: Bump OAuth2 Proxy image to v7.15.2
3540
links:

helm/oauth2-proxy/templates/httproute.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ spec:
4949
filters:
5050
{{- toYaml .filters | nindent 4 }}
5151
{{- end }}
52+
{{- if .name }}
53+
name: {{ .name }}
54+
{{- end }}
5255
{{- end }}
5356
{{- else }}
5457
- matches:

0 commit comments

Comments
 (0)