Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 10.4.3
version: 10.6.0
apiVersion: v2
appVersion: 7.15.2
home: https://oauth2-proxy.github.io/oauth2-proxy/
Expand Down Expand Up @@ -30,8 +30,8 @@ maintainers:
kubeVersion: ">=1.16.0-0"
annotations:
artifacthub.io/changes: |
- kind: changed
description: Bump OAuth2 Proxy image to v7.15.2
- kind: added
description: Added name attribute for HTTPRoute rules
links:
- name: GitHub PR
url: https://github.com/oauth2-proxy/manifests/pull/406
url: https://github.com/oauth2-proxy/manifests/pull/407
Comment thread
pierluigilenoci marked this conversation as resolved.
16 changes: 16 additions & 0 deletions helm/oauth2-proxy/ci/gateway-api-name.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Gateway API configuration with rule name
gatewayApi:
enabled: true
gatewayRef:
name: test-gateway
rules:
- name: service
matches:
- path:
type: PathPrefix
value: /
- name: metrics
matches:
- path:
type: PathPrefix
value: /metrics
5 changes: 4 additions & 1 deletion helm/oauth2-proxy/templates/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ spec:
rules:
{{- if .Values.gatewayApi.rules }}
{{- range .Values.gatewayApi.rules }}
- matches:
- {{- if .name }}
name: {{ .name | quote }}
{{- end }}
matches:
{{- if .matches }}
{{- toYaml .matches | nindent 4 }}
{{- else }}
Expand Down
3 changes: 2 additions & 1 deletion helm/oauth2-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ gatewayApi:
gatewayRef: {}
# HTTPRoute rule configuration
# rules:
# - matches:
# - name: service # optional: enables targeting by sectionName in policies
# matches:
# - path:
# type: PathPrefix
# value: /
Expand Down
Loading