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

Question about fields ordering in form view #39

Open
julie-garrone opened this issue Nov 27, 2020 · 2 comments
Open

Question about fields ordering in form view #39

julie-garrone opened this issue Nov 27, 2020 · 2 comments

Comments

@julie-garrone
Copy link

Hi,
I am working on submitting a new chart to the Redhat Helm chart repository and I would like to customize the form view for our product installation.
According to this doc, the order of properties in the required array of the values.schema.json file should be maintained in the corresponding rendered form fields. But that is not what I am seeing during my tests.

For example in the nodejs-ex-k values.schema.json the required fields are defined as:

"required": [
"replicaCount",
"image",
"service",
"ingress"
],

But in the form view of my Openshift 4.6 test cluster, the order is not respected:
image

How can I control the order of the fields in the form view?
Thanks!

@sbose78
Copy link
Member

sbose78 commented Dec 6, 2020

Hi!

The order is picked up from ordered-values.yaml

@joewhite86
Copy link

Doesn't work for me. Seems like it doesn't care for this file.

I created a symlink to values.yaml like in the https://github.com/redhat-developer/redhat-helm-charts/tree/master/alpha/nodejs-ex-k repo.

I'm at openshift 4.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants