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

Where do defaults come from? #8

Open
yuvipanda opened this issue Apr 19, 2021 · 1 comment
Open

Where do defaults come from? #8

yuvipanda opened this issue Apr 19, 2021 · 1 comment

Comments

@yuvipanda
Copy link
Owner

When the hub admin sees the UI, they should know what the current values are so they can decide whether it should be changed or not. However, this doesn't work when the default values are not being set in the configurator, but elsewhere - in the z2jh config.yaml for example. The configurator doesn't know what the default image is, nor default interface, so can't show that to the hub admin.

One way to deal with this is to set default config for things like this always in the configurator schema, rather than in a z2jh config.yaml. This probably is the way to go.

@damianavila
Copy link

So, you are proposing some sort of "base" config schema containing those defaults that other schema living here could inherit somehow?

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

2 participants