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

Add support for a default config file #64

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Add support for a default config file #64

merged 2 commits into from
Jun 28, 2024

Conversation

mjh1
Copy link
Contributor

@mjh1 mjh1 commented Jun 28, 2024

We want to be able to set config without making mist changes and also without cycling pods which is required for environment variable changes. This way we can add the config file to running pods via our existing mechanism and the uploader will pick it up automatically.

We want to be able to set config without making mist changes and also without cycling pods which is required for environment variable changes. This way we can add the config file via our existing mechanism to running pods and uploader will pick it up automatically
@pwilczynskiclearcode
Copy link
Contributor

Nice!

@pwilczynskiclearcode
Copy link
Contributor

pwilczynskiclearcode commented Jun 28, 2024

As a next step we could have a dynamically reloaded configs - every X seconds or on USR signal... Would be useful esp. for catalyst... but it might be difficult to implement it would require proper locking as updating config in the middle of a request might be evil.

I mean for uploader it doesn't make sense probably but for catalyst might be useful

Copy link
Member

@victorges victorges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat

catalyst-uploader.go Outdated Show resolved Hide resolved
Co-authored-by: Victor Elias <victorgelias@gmail.com>
@mjh1 mjh1 merged commit 541cfaf into main Jun 28, 2024
8 checks passed
@mjh1 mjh1 deleted the mh/default-config branch June 28, 2024 16:06
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

Successfully merging this pull request may close these issues.

3 participants