Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide variable fields from ClusterClass #3

Open
jschoone opened this issue Jun 25, 2024 · 2 comments · May be fixed by #10
Open

Provide variable fields from ClusterClass #3

jschoone opened this issue Jun 25, 2024 · 2 comments · May be fixed by #10
Assignees
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Milestone

Comments

@jschoone
Copy link

To make use of all possible variables provided by the specific ClusterClass, this should be generated out of it, the same way we do for the documentation, see SovereignCloudStack/cluster-stacks#94.
In case of moin cluster, they are available publicly available here

@jschoone jschoone added the Container Issues or pull requests relevant for Team 2: Container Infra and Tooling label Jun 25, 2024
@jschoone jschoone changed the title Provider variable fields from ClusterClass Provide variable fields from ClusterClass Jun 25, 2024
@mxmxchere
Copy link
Contributor

Not only the variables can be fetched from the apiserver-link. The available cluster-classes and the namespaces they are deployed in can be used as input too.

@paulphys paulphys self-assigned this Jul 1, 2024
@paulphys paulphys moved this from Backlog to Doing in Sovereign Cloud Stack Jul 1, 2024
@paulphys paulphys linked a pull request Jul 8, 2024 that will close this issue
@paulphys
Copy link
Member

paulphys commented Jul 10, 2024

The new dynamic approach fetches all available ClusterClass definitions from the kubeapi-server of the moin-cluster via the REST API provided by capi-jsgen. The response is a JSON Schema object, which gets read by react-jsonschema-form to render the form. This new library allows us to dynamically render forms by providing a schema of the data and the associated UI components

@jschoone jschoone added this to the R7 (v8.0.0) milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Container Issues or pull requests relevant for Team 2: Container Infra and Tooling
Projects
Status: Doing
Development

Successfully merging a pull request may close this issue.

3 participants