Skip to content

Commit 775136b

Browse files
committed
Merge branch 'main' into fix/listenerset-accepted-invalid-cert
Signed-off-by: zirain <zirain2009@gmail.com>
2 parents dbb8f13 + 98a4def commit 775136b

156 files changed

Lines changed: 3443 additions & 1689 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
- uses: ./tools/github-actions/setup-deps
3737

3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v3.29.5
39+
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v3.29.5
4040
with:
4141
languages: ${{ matrix.language }}
4242

4343
- name: Autobuild
44-
uses: github/codeql-action/autobuild@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v3.29.5
44+
uses: github/codeql-action/autobuild@e46ed2cbd01164d986452f91f178727624ae40d7 # v3.29.5
4545

4646
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v3.29.5
47+
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v3.29.5
4848
with:
4949
category: "/language:${{matrix.language}}"

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ jobs:
4040
retention-days: 5
4141

4242
- name: "Upload to code-scanning"
43-
uses: github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v3.29.5
43+
uses: github/codeql-action/upload-sarif@e46ed2cbd01164d986452f91f178727624ae40d7 # v3.29.5
4444
with:
4545
sarif_file: results.sarif

api/v1alpha1/policy_helpers.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ type TargetSelector struct {
5858
// When specified, the effective set of namespaces is always constrained to the
5959
// namespaces watched by Envoy Gateway.
6060
//
61+
// Selecting targets across namespaces requires a ReferenceGrant in the target
62+
// namespace that allows this policy kind to reference the selected target kind.
63+
// Cross-namespace targets without a matching ReferenceGrant are ignored.
64+
//
6165
// +optional
6266
Namespaces *TargetSelectorNamespaces `json:"namespaces,omitempty"`
6367

api/v1alpha1/ratelimit_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ type RateLimitSelectCondition struct {
228228
// meaning, a request MUST match all the specified headers.
229229
//
230230
// +optional
231-
// +kubebuilder:validation:MaxItems=16
231+
// +kubebuilder:validation:MaxItems=64
232232
Headers []HeaderMatch `json:"headers,omitempty"`
233233

234234
// Methods is a list of request methods to match. Multiple method values are ORed together,

api/v1alpha1/shared_types.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ const (
7070
// PolicyReasonDeprecatedField is used with the "Warning" condition when the policy
7171
// uses deprecated fields that should be migrated to newer alternatives.
7272
PolicyReasonDeprecatedField gwapiv1.PolicyConditionReason = "DeprecatedField"
73-
74-
// PolicyReasonRefNotPermitted is used when the policy targets a cross-namespace
75-
// object without a matching ReferenceGrant.
76-
PolicyReasonRefNotPermitted gwapiv1.PolicyConditionReason = "RefNotPermitted"
7773
)
7874

7975
// GroupVersionKind unambiguously identifies a Kind.

charts/gateway-addons-helm/Chart.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
- name: prometheus
33
repository: https://prometheus-community.github.io/helm-charts
4-
version: 29.3.0
4+
version: 29.6.0
55
- name: grafana
66
repository: https://grafana.github.io/helm-charts
77
version: 10.5.15
@@ -19,6 +19,6 @@ dependencies:
1919
version: 1.3.1
2020
- name: opentelemetry-collector
2121
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
22-
version: 0.152.0
23-
digest: sha256:31e439ab78cec2551ca15813d21b27637c060fd0b22a6f147d7b11fbf75ed05e
24-
generated: "2026-04-29T04:35:56.58559758Z"
22+
version: 0.153.0
23+
digest: sha256:2c021601dd359d16c3a167eeb6bbbb854c5ffe6d71536190c9ea62d0c087ed28
24+
generated: "2026-05-06T04:36:04.893013011Z"

charts/gateway-addons-helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sources:
2626

2727
dependencies:
2828
- name: prometheus
29-
version: 29.3.0
29+
version: 29.6.0
3030
repository: https://prometheus-community.github.io/helm-charts
3131
condition: prometheus.enabled
3232
- name: grafana
@@ -51,5 +51,5 @@ dependencies:
5151
condition: tempo.enabled
5252
- name: opentelemetry-collector
5353
repository: https://open-telemetry.github.io/opentelemetry-helm-charts
54-
version: 0.152.0
54+
version: 0.153.0
5555
condition: opentelemetry-collector.enabled

charts/gateway-addons-helm/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ An Add-ons Helm chart for Envoy Gateway
2626
| https://grafana.github.io/helm-charts | grafana | 10.5.15 |
2727
| https://grafana.github.io/helm-charts | loki | 7.0.0 |
2828
| https://grafana.github.io/helm-charts | tempo | 1.3.1 |
29-
| https://open-telemetry.github.io/opentelemetry-helm-charts | opentelemetry-collector | 0.152.0 |
30-
| https://prometheus-community.github.io/helm-charts | prometheus | 29.3.0 |
29+
| https://open-telemetry.github.io/opentelemetry-helm-charts | opentelemetry-collector | 0.153.0 |
30+
| https://prometheus-community.github.io/helm-charts | prometheus | 29.6.0 |
3131

3232
## Usage
3333

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_backendtrafficpolicies.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ spec:
15061506
required:
15071507
- name
15081508
type: object
1509-
maxItems: 16
1509+
maxItems: 64
15101510
type: array
15111511
methods:
15121512
description: |-
@@ -1890,7 +1890,7 @@ spec:
18901890
required:
18911891
- name
18921892
type: object
1893-
maxItems: 16
1893+
maxItems: 64
18941894
type: array
18951895
methods:
18961896
description: |-
@@ -2924,6 +2924,10 @@ spec:
29242924
29252925
When specified, the effective set of namespaces is always constrained to the
29262926
namespaces watched by Envoy Gateway.
2927+
2928+
Selecting targets across namespaces requires a ReferenceGrant in the target
2929+
namespace that allows this policy kind to reference the selected target kind.
2930+
Cross-namespace targets without a matching ReferenceGrant are ignored.
29272931
properties:
29282932
from:
29292933
default: Same

charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,10 @@ spec:
11811181
11821182
When specified, the effective set of namespaces is always constrained to the
11831183
namespaces watched by Envoy Gateway.
1184+
1185+
Selecting targets across namespaces requires a ReferenceGrant in the target
1186+
namespace that allows this policy kind to reference the selected target kind.
1187+
Cross-namespace targets without a matching ReferenceGrant are ignored.
11841188
properties:
11851189
from:
11861190
default: Same

0 commit comments

Comments
 (0)