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 --auto-reload-all flag #487

Merged
merged 9 commits into from
Aug 20, 2023

Conversation

itaispiegel
Copy link
Contributor

This is my PR for issue #478.
I added the flag --auto-reload-all, which commands the controller to reload all resources when their configmaps/secrets change, unless they have the auto annotation set to false (or an undefined value).
I'd be glad to get feedback on this, so please tell me if the documentation isn't clear enough, or if you think this should be implemented differently.

@github-actions
Copy link

@itaispiegel Image is available for testing. docker pull ghcr.io/:SNAPSHOT-PR-487-5db6edc2

@github-actions
Copy link

@itaispiegel Image is available for testing. docker pull ghcr.io/:SNAPSHOT-PR-487-97b0e6aa

@faizanahmad055
Copy link
Contributor

@itaispiegel Thank you for the contribution, the PR looks good. Can you please also write some test cases here: https://github.com/stakater/Reloader/blob/master/internal/pkg/handler/upgrade_test.go. You can write some scenarios from your last commit where you can test if the reload-all is set to true then you reload more than one deployment upon a config map change. Having at least one positive and one negative test case should be enough :)

@itaispiegel
Copy link
Contributor Author

@faizanahmad055 Great! I'll work on it this week and will keep in touch with you :)

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@itaispiegel itaispiegel force-pushed the feature/auto-reload-all branch 2 times, most recently from 5f45814 to 67ac0f6 Compare August 6, 2023 12:04
@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

@itaispiegel Image is available for testing. docker pull ghcr.io/ghcr.io/stakater/reloader:SNAPSHOT-PR-487-cabe0d8b

@github-actions
Copy link

@karl-johan-grahn Image is available for testing. docker pull ghcr.io/ghcr.io/stakater/reloader:SNAPSHOT-PR-487-b2f9300c

@AsfaMumtaz AsfaMumtaz merged commit 663fa49 into stakater:master Aug 20, 2023
6 checks passed
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.

None yet

5 participants