Add reference documentation for APIKeyRequest CRD

Aperta Adatta ai principianti
#70 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@amalsaidov ci sta già lavorando.

Dal 11/11/2026.

  • #110 di @amalsaidov — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
Mezza giornata
Idoneità per principianti
74/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
go, kubernetes
Ambito
documentation

Direzione di ricerca

Inizia esaminando le definizioni di APIKey e APIKeyApproval in api/v1alpha1/apikey_types.go e api/v1alpha1/apikeyapproval_types.go, quindi individua la struttura esistente della documentazione di riferimento. Documenta lo schema, il ciclo di vita, la proprietà, i limiti di RBAC e l’esempio di APIKeyRequest mostrato nell’issue; il lavoro è completo quando gli utenti possono comprendere la risorsa senza leggere il codice sorgente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
3
Fork
15
Merge medio
1g 21h
PR unite (30g)
4

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Kuadrant/developer-portal-controller

Tutte le issue di Kuadrant/developer-portal-controller

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.