Skip to content

Add external configuration. #1

Description

@1cedsoda

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions