I just had the same idea for using react components to model k8s resources and found your repo. Great work!
I think to step more in the foots of Helm, there should be a way to add external configuration.
The developer could define a schema for it's configuration with Zod or something similar.
With something like npx rekube -c prod-config.json an external configuration could be laoded. The external configuration could be toml, json, yaml or pkl and is validated against the Zod schema.
It is then provided as props for the root component or in some other way so it can be used by the resource components.
I just had the same idea for using react components to model k8s resources and found your repo. Great work!
I think to step more in the foots of Helm, there should be a way to add external configuration.
The developer could define a schema for it's configuration with Zod or something similar.
With something like
npx rekube -c prod-config.jsonan external configuration could be laoded. The external configuration could be toml, json, yaml or pkl and is validated against the Zod schema.It is then provided as props for the root component or in some other way so it can be used by the resource components.