You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great idea. I think we can make this general enough so that it auto-reloads if the config file changes -- as config maps are seen as a flat file to Triage Party.
I took a look at this and I think there are two things to solve for here.
Determine when the config changes.
This appears to be pretty easy. We can take a similar approach to what Caddy did with watching for the file modification time. Another option is to use fsnotify.
Reload the application.
This looks more challenging and will require a bit of rework in the main server function and control logic for the goroutines.
It would great if
triage-party
can automatically reload whenever the ConfigMap is modified so that the pod doesn't need to be deleted and re-created.The text was updated successfully, but these errors were encountered: