Replies: 1 comment 1 reply
-
2 solutions imho:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not entirely sure if Windmill will be good at this or not, but I'm hoping it will work. Any advice is appreciated.
I currently have a yaml file with a list of apps in it. I have a separate script which parses this and for each app, it renders a hashicorp nomad job file or kubernetes manifest. Currently I edit this by hand, but I want a nice UI for it.
As an example, here's a basic app in the list:
And here's a more complicated one with more options:
In windmill, I have an app that can clone the git repo where this yaml file is stored and runs a python script which converts the yaml into json and displays it in an AgTable.
I think this is where I'm a little lost. Some of the keys are too complex to edit in a table, so I thought I could just make a form to the side of the table where it'd be easier. This works for some of the keys like name/image/count, but I'm not sure how to handle the more complex ones like
env
which is a nested object.Are there any examples of something vaguely similar, or maybe just some advice on handling complex/nested objects?
I don't really want to convert the yaml file to a database, but I'm wondering if it would make it easier to manipulate with windmill?
Beta Was this translation helpful? Give feedback.
All reactions