Add reference documentation for APIKeyRequest CRD

Đang mở Phù hợp với người mới
#70 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@amalsaidov đang làm issue này rồi.

Từ ngày 11/11/2026.

  • #110 của @amalsaidov — đang mở

Đá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ả

documentation good first issue triage/accepted

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 APIKey is deleted
  • Owner interacts by creating an APIKeyApproval referencing this resource
RBAC Notes
  • Owners have get/list/watch on APIKeyRequest in their namespace
  • Owners do NOT have access to APIKey in consumer namespaces (namespace isolation)
  • API key secret values are never projected into APIKeyRequest (only into APIKey status)
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

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

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Kuadrant/developer-portal-controller

Tất cả issue của Kuadrant/developer-portal-controller

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.