Expose CRD projection as a public package
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
Read internal/projection and its callers, especially pubres-toolkit, to see how ProjectCRD is imported and what package paths need updating. Move the package to a public location such as pkg/projection, then run the relevant package and repository tests; done means external modules can import it without adding SDK dependencies or changing its projection behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Feature Description
We generate client tooling (a Terraform provider, later SDKs) from the APIs our services publish through the Sync Agent. To match what users see in kcp, we need the same projection the agent applies: version selection, storage version, renames of versions, group, kind, plural, scope.
This runs offline in CI, from the CRD and PublishedResource files, with no cluster. ProjectCRD does exactly that, but it lives in internal/projection, so it can't be imported from another module. pubres-toolkit uses it, but needs a cluster to read the CRD. Right now we keep a copy of the logic, which has to be kept in sync by hand.
Proposed Solution
Move internal/projection to a public package, for example pkg/projection. It stays in the main module, so there are no new dependencies. Moving it into sdk/ would add k8s.io/apiextensions-apiserver to the SDK, which is probably not wanted.
Alternative Solutions
An offline mode for pubres-toolkit crd that reads the CRD from a file instead of the cluster.
Related: #128.
Want to contribute?
- I would like to work on this issue.
Additional Context
No response
- Lingua principale
- Go
- Stelle
- 25
- Fork
- 35
- Merge medio
- 3g 19h
- PR unite (30g)
- 18
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kcp-dev/api-syncagent
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kcp-dev/api-syncagent#161 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug: engaging a workspace can fail while a sync controller is stopping, and the workspace is dropped for all controllersForse già presa @Wompipomp l’ha presa 5 giorni fa. Aperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 35/100
kcp-dev/api-syncagent#214 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Support namespace caches for authorized local SecretsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
kcp-dev/api-syncagent#195 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
kcp-dev/api-syncagent#188 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
kind/feature
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
kcp-dev/api-syncagent#186 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di kcp-dev/api-syncagent
Issue simili
-
ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
jordansmall/spindrift#7895 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
documentation priority: medium skill: intermediate status: ready for dev
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
hyperledger-labs/fabric-smart-client#2830 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno