Comments (3)
@eladb I love this feature! A few thoughts:
- Adding an endpoint that returns a list of all CRDs for a project should be relatively straight-forward 👍
- Allowing a user to download a CRD for a project could be pretty easy as we could just proxy the raw github content
One thing that would make this experience potentially less than ideal is that the filepath in the repo in currently used as the unique identifier for a CRD. The reason for this is that a CRD may be present in multiple locations in a repo (you can see this on https://doc.crds.dev/github.com/crossplane/crossplane for example) and we are not able to say for sure which is the "true" CRD representation. Therefore, if you wanted to download all crossplane/crossplane
CRDs we would likely return some duplicates. If they are the same, this should be okay because if you are kubectl apply -f
for example then you would just get something like unchanged
.
One thing I have been thinking about is allowing projects to put some sort of doc.crds
file in their repo that has config that we will honor if present. This would allow projects who opt-in to have a better experience for users, and for those who do not, they would just get a best-effort. Do you have any thoughts on these points?
from doc.
This has been addressed in #93
from doc.
🚀
from doc.
Related Issues (20)
- Most used repos on home page
- frontend: TypeError: can't convert null to object
- gateway-api seems to be misdetected HOT 1
- Improve Yaml Parsing & CRD Selection HOT 5
- Build crossplane configuration package
- Update README with project information HOT 3
- Add opentelemetry instrumentation
- upbound/platform-ref-aws broken HOT 2
- CRD not found HOT 1
- Some valid CRDs are not rendered HOT 5
- actions-runner-controller detected but unable to render HOT 1
- Repos forever unindexed HOT 1
- Proposal improvement to UI
- Crds not rendered HOT 3
- The page is broken HOT 2
- Add version diffs
- The future of doc.crds.dev HOT 10
- No CRDs discovered
- Feature Request: Allow missing version number at the end of the URL
- [Feature Request] Empty Tag will Serve Latest Version (Highest Semver) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doc.