-
Notifications
You must be signed in to change notification settings - Fork 6
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
Are there plans to support dynamic configuration? #60
Comments
Hi, I personally dont need that, so its not planned on my end. What use case do you have for it? |
We use it for our internal platform. There is a lot of ArgoCD Application. it was created by our platform API, so we want create the pipeline by our platfrom API too. |
I think, technically everything for a basic write API should be in the code base, more or less. You could make a PR, perhaps. It would be here https://github.com/bluebrown/kobold/blob/main/http/api/handler.go and here https://github.com/bluebrown/kobold/blob/main/store/model/config.query.sql.go, roughly. This is using sqlc, so go generate should be invoked. |
One thing to keep in mind is this: Line 24 in 53ba093
I decided, back then, to remove old configs and reapply them to the db, if a config file was provided. This is to prevent config drift (between file and database) All in all it may be still confusing but it was sufficient until now. When we support dynamic config writes, this scenario has to be taken care of as well. It needs to make sense and yield no surprises for the user. Its a design choice. |
I found there's some APIs, but just queries. Is there any plans to support create pipeline by the API?
The text was updated successfully, but these errors were encountered: