Add support for specifying `targetRef` namespace on authorization policies
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go, kubernetes
- Lĩnh vực
- api, networking, security
Hướng nghiên cứu
Bắt đầu bằng việc xem xét authorization policy API và Istio API pull request 2888 được tham chiếu, sau đó theo dõi cách các đích gateway và namespace được biểu diễn. Công việc được xem là hoàn tất khi một AuthorizationPolicy có thể tham chiếu đến một gateway trong namespace khác, cho phép các namespace của ứng dụng chứa các policy này; thêm hoặc cập nhật các bài kiểm thử bao quát hành vi đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the feature request
When using the k8s gateway API (with Istio as a gateway controller), I'd like to be able to store authorization policies alongside applications, alongside HTTPRoutes and similar application-specific resources.
Today, it looks like the only way to target application-specific resources with AuthorizationPolicies when using the gateway API is to target the entire gateway, and then use a rule to filter the policy based on hosts/paths/etc. that match the application's HTTPRoute. While not ideal, this should in theory work.
However, because the AuthorizationPolicy does not support targeting gateways in other namespaces, the policy must live in either the default namespace (so it'll match gateways in all namespaces), or the gateway's namespace. This means moving application-specific resources away from the application, and away from all other related ingress configuration.
I'd like to be able to specify the namespace for the referenced gateway within the authorization policy so that I can place the policy in application namespaces, instead of gateway namespaces. It looks like work was already started on this here, but never completed.
Describe alternatives you've considered
Store the resource in the gateway namespace
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
Additional context
- Ngôn ngữ chính
- Go
- Star
- 523
- Fork
- 623
- Merge trung bình
- 5 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của istio/api
-
Gateway CRD accepts both credentialName and tlsCertificates in server TLS settingsCó thể đã có người làm @RaphaelFakhri đã nhận 23 ngày trước. Đang mởarea/networking area/user experience
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/user experience kind/docs kind/enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 40/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area/networking area/user experience kind/docs kind/enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[release-1.29] change default of statsCompression to trueCó thể làm lại được @keithmattix đã nhận 304 ngày trước và không có pull request nào đang mở. Đang mở
istio/api#3642 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
istio/api#3638 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug raised-by:verifier to:worker
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
medici-finance/assay#7835 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
golang-malawi/qatarina#496 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
hive size:simple
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
janitor: 2026-11-27 hygieneĐang mởdocumentation stage:review
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
wso2/identity-customer-data-service#430 ·
Maintainer thường phản hồi trong vòng 1 ngày