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

Made restartOnSecretRefresh option part of certrorator #23

Merged

Conversation

stijndehaes
Copy link
Contributor

Instead of relying on people to use the flag parsing
mechanism from go. They can pass the option to the
CertRotator struct to restart of secret refresh.

Signed-off-by: Stijn De Haes stijndehaes@gmail.com

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@shomron shomron left a comment

Choose a reason for hiding this comment

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

Looks good - we should probably update the README.md to account for the flag change.

Instead of relying on people to use the flag parsing
mechanism from go. They can pass the option to the
CertRotator struct to restart of secret refresh.

Signed-off-by: Stijn De Haes <stijndehaes@gmail.com>
@stijndehaes
Copy link
Contributor Author

Looks good - we should probably update the README.md to account for the flag change.

Done!

@codecov-io
Copy link

Codecov Report

Merging #23 (6cd430a) into master (69850e5) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   51.44%   51.31%   -0.13%     
==========================================
  Files           1        1              
  Lines         381      380       -1     
==========================================
- Hits          196      195       -1     
  Misses        129      129              
  Partials       56       56              
Flag Coverage Δ
unittests 51.31% <0.00%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/rotator/rotator.go 51.31% <0.00%> (-0.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69850e5...6cd430a. Read the comment docs.

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

4 participants