From 674e3d650becd676d23fc105c7756a2e90e37efa Mon Sep 17 00:00:00 2001 From: Mart-Kuc Date: Tue, 11 Aug 2026 16:22:23 +0200 Subject: [PATCH 1/2] feat(httproute): Add support fot 'filters' --- charts/weblate/Chart.yaml | 2 +- charts/weblate/README.md | 1 + charts/weblate/templates/httproute.yaml | 4 ++++ charts/weblate/values.yaml | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/weblate/Chart.yaml b/charts/weblate/Chart.yaml index 07a9ec0a..ffd6cc9d 100644 --- a/charts/weblate/Chart.yaml +++ b/charts/weblate/Chart.yaml @@ -4,7 +4,7 @@ appVersion: 2026.8.1.0 description: Weblate is a free web-based translation management system. name: weblate type: application -version: 0.5.33 +version: 0.5.34 home: https://weblate.org/ icon: https://s.weblate.org/cdn/weblate.svg maintainers: diff --git a/charts/weblate/README.md b/charts/weblate/README.md index f8277270..1f9f3ff2 100644 --- a/charts/weblate/README.md +++ b/charts/weblate/README.md @@ -71,6 +71,7 @@ $ helm install my-release weblate/weblate | gatewayApi.httpRoute.parentRefs | list | `[]` | Parent references for the HTTPRoute. If empty and gateway.create is true, defaults to the created Gateway | | gatewayApi.httpRoute.rules | list | `[]` | HTTPRoute rules. If empty, a default rule routing all traffic to the Weblate service is created | | gatewayApi.httpRoute.timeouts | object | `{}` | Timeouts applied to the default generated rule. Ignored when custom rules are specified | +| gatewayApi.httpRoute.filters | list | `[]` | Filters applied to the default generated rule. Ignored when custom rules are specified | | gatewayApi.tlsRoute.annotations | object | `{}` | TLSRoute annotations | | gatewayApi.tlsRoute.create | bool | `false` | Create a TLSRoute resource | | gatewayApi.tlsRoute.hostnames | list | `[]` | SNI hostnames the TLSRoute should match | diff --git a/charts/weblate/templates/httproute.yaml b/charts/weblate/templates/httproute.yaml index fd96296b..af51703f 100644 --- a/charts/weblate/templates/httproute.yaml +++ b/charts/weblate/templates/httproute.yaml @@ -44,5 +44,9 @@ spec: timeouts: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.gatewayApi.httpRoute.filters }} + filters: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} {{- end }} diff --git a/charts/weblate/values.yaml b/charts/weblate/values.yaml index cd22ef3a..bf432994 100644 --- a/charts/weblate/values.yaml +++ b/charts/weblate/values.yaml @@ -186,6 +186,8 @@ gatewayApi: rules: [] # gatewayApi.httpRoute.timeouts -- Timeouts applied to the default generated rule. Ignored when custom rules are specified timeouts: {} + # gatewayApi.httpRoute.filters -- Filters applied to the default generated rule. Ignored when custom rules are specified + filters: [] tlsRoute: # gatewayApi.tlsRoute.create -- Create a TLSRoute resource From d9a71c76e5ad1961a604c8da4f81b24b7ad9cde9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Aug 2026 14:24:06 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- charts/weblate/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/weblate/README.md b/charts/weblate/README.md index 1f9f3ff2..18978db1 100644 --- a/charts/weblate/README.md +++ b/charts/weblate/README.md @@ -1,6 +1,6 @@ # weblate -![Version: 0.5.33](https://img.shields.io/badge/Version-0.5.33-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2026.8.1.0](https://img.shields.io/badge/AppVersion-2026.8.1.0-informational?style=flat-square) +![Version: 0.5.34](https://img.shields.io/badge/Version-0.5.34-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2026.8.1.0](https://img.shields.io/badge/AppVersion-2026.8.1.0-informational?style=flat-square) Weblate is a free web-based translation management system. @@ -66,12 +66,12 @@ $ helm install my-release weblate/weblate | gatewayApi.gateway.listeners | object | `{}` | Gateway listeners configuration | | gatewayApi.httpRoute.annotations | object | `{}` | HTTPRoute annotations | | gatewayApi.httpRoute.create | bool | `false` | Create an HTTPRoute resource | +| gatewayApi.httpRoute.filters | list | `[]` | Filters applied to the default generated rule. Ignored when custom rules are specified | | gatewayApi.httpRoute.hostnames | list | `[]` | Hostnames the HTTPRoute should match | | gatewayApi.httpRoute.labels | object | `{}` | Additional HTTPRoute labels | | gatewayApi.httpRoute.parentRefs | list | `[]` | Parent references for the HTTPRoute. If empty and gateway.create is true, defaults to the created Gateway | | gatewayApi.httpRoute.rules | list | `[]` | HTTPRoute rules. If empty, a default rule routing all traffic to the Weblate service is created | | gatewayApi.httpRoute.timeouts | object | `{}` | Timeouts applied to the default generated rule. Ignored when custom rules are specified | -| gatewayApi.httpRoute.filters | list | `[]` | Filters applied to the default generated rule. Ignored when custom rules are specified | | gatewayApi.tlsRoute.annotations | object | `{}` | TLSRoute annotations | | gatewayApi.tlsRoute.create | bool | `false` | Create a TLSRoute resource | | gatewayApi.tlsRoute.hostnames | list | `[]` | SNI hostnames the TLSRoute should match |