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
Apply once when WatchInterval == 0 #3994
Apply once when WatchInterval == 0 #3994
Conversation
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
b3a3939
to
fe63040
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me, thanks.
However, I have a small suggestion. What about doing one-off if WatchInterval time.Duration is 0
? This makes sense logically and will allow us to have consistent API for reloader. 🤗 WDYT?
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
0fe6904
to
29e2804
Compare
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
3b82659
to
5a4a378
Compare
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
a648cac
to
463f9dd
Compare
Signed-off-by: Du Zheng <zsuzhengdu@gmail.com>
7169f2b
to
bff5822
Compare
@bwplotka Would you please help to give another review on this PR? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid. Thanks!
Changes
Fix prometheus-operator/prometheus-operator#3061 (comment)
Verification
Manually tested. Working on unit tests.