spacecloud-io / space-cloud

Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
https://space-cloud.io
Apache License 2.0
3.94k stars 222 forks source link

[Feature] Create CRUD APIs for sources #1635

Closed YourTechBud closed 1 year ago

YourTechBud commented 1 year ago

The problem faced currently?

The only way to supply config to SC is making files or K8s resources. This negatively impacts developer experience.

How can we solve it?

Source manager can register CRUD APIs for registered GVKs.

Notes:

  1. A separate OpenAPI endpoint should be made to expose these endpoints
  2. JSON schema validation checks should be in place for apply operation (no need for separate create and update APIs)
  3. Adapters will be required to serve as a store. E.g. file and k8s

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you. 👍