Add reference documentation for APIKeyRequest CRD
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- go, kubernetes
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách xem xét các định nghĩa APIKey và APIKeyApproval trong api/v1alpha1/apikey_types.go và api/v1alpha1/apikeyapproval_types.go, sau đó xác định cấu trúc tài liệu tham chiếu hiện có. Ghi lại schema, vòng đời, quyền sở hữu, ranh giới RBAC và ví dụ APIKeyRequest được nêu trong issue; công việc được coi là hoàn tất khi người dùng có thể hiểu tài nguyên mà không cần đọc mã nguồn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add a reference documentation page for the APIKeyRequest custom resource definition (CRD).
Background
APIKeyRequest is the shadow resource created by the APIKeyReconciler in the API owner's namespace, mirroring the consumer's APIKey. It enables namespace-based RBAC: owners discover and review access requests in their own namespace without seeing consumer namespaces.
Currently there is no reference documentation for this resource. Users and integrators must read the source code to understand its schema and behavior.
Lifecycle / Ownership
- Created and deleted by the controller (owners do not create these manually)
- Deleted automatically when the originating
APIKeyis deleted - Owner interacts by creating an
APIKeyApprovalreferencing this resource
RBAC Notes
- Owners have
get/list/watchonAPIKeyRequestin their namespace - Owners do NOT have access to
APIKeyin consumer namespaces (namespace isolation) - API key secret values are never projected into
APIKeyRequest(only intoAPIKeystatus)
Example
apiVersion: devportal.kuadrant.io/v1alpha1
kind: APIKeyRequest
metadata:
name: my-api-key-request
namespace: owner-namespace # same namespace as the APIProduct
spec:
apiProductRef:
name: my-api-product
planTier: basic
useCase: "Internal integration for payment processing service"
requestedBy:
userId: "user-123"
email: "[email protected]"
apiKeyRef:
name: my-api-key
namespace: consumer-namespace
status:
conditions:
- type: Pending
status: "True"
lastTransitionTime: "2026-06-12T10:00:00Z"
Related
APIKeyCRD (api/v1alpha1/apikey_types.go)APIKeyApprovalCRD (api/v1alpha1/apikeyapproval_types.go)- RBAC design: https://github.com/Kuadrant/kuadrant-console-plugin/blob/main/docs/designs/2026-03-26-api-management-rbac-design.md
- Ngôn ngữ chính
- Go
- Star
- 3
- Fork
- 15
- Merge trung bình
- 1 ngày 21 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.
- Có Dockerfile hoặc 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 Kuadrant/developer-portal-controller
-
documentation linkinator-failure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
triage/accepted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Kuadrant/developer-portal-controller#83 · 1 bình luận ·
-
Add unit tests for name generation, data transformation, and object helpersCó thể làm lại được @VISHNU0906 đã nhận 19 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue triage/accepted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
Kuadrant/developer-portal-controller#76 · 1 bình luận ·
-
Add unit tests for status and condition helper functionsCó thể làm lại được @aviralgarg05 đã nhận 21 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue triage/accepted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
Kuadrant/developer-portal-controller#75 · 1 bình luận ·
-
enhancement maintainers-only
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Tất cả issue của Kuadrant/developer-portal-controller
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
alibaba/MongoShake#1077 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mattermost/mattermost-plugin-jira#1397 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Add Free CS Systems Workshops, Starter Scaffolds & Zero-Dependency Verification CLI to CS SeriesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100