-
Notifications
You must be signed in to change notification settings - Fork 7
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
Exclude from certificate monitoring if SIA's Certificate File or Ca Cert File Path is Empty #171
Conversation
Signed-off-by: myajima <myajima@lycorp.co.jp>
0e0bfc2
to
88baa4b
Compare
Signed-off-by: myajima <myajima@lycorp.co.jp>
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.
- Consider the following:
I don't want to make changes in this PR here, but I found out that the current logic where exporter not being able to watch the service-cert or ca-cert just because it couldn't get the rolecert path is a bit over the top. prolly requires a new issue.
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.
- Consider the following:
I think the following change is enough for this PR: main...suggestion/exclude-from-cert-monitoring-jekim
|
Signed-off-by: myajima <myajima@lycorp.co.jp>
Created an issue: |
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.
lgtm
…ert File Path is Empty (#171) * exclude from cert monitoring Signed-off-by: myajima <myajima@lycorp.co.jp> * use anonymous func Signed-off-by: myajima <myajima@lycorp.co.jp> * only service cert Signed-off-by: myajima <myajima@lycorp.co.jp> --------- Signed-off-by: myajima <myajima@lycorp.co.jp> Signed-off-by: wfan <wfan@lycorp.co.jp>
…own (#173) * use config variable Signed-off-by: wfan <wfan@lycorp.co.jp> * add forceful shutdown logic Signed-off-by: wfan <wfan@lycorp.co.jp> * fix all shutdown Signed-off-by: wfan <wfan@lycorp.co.jp> * add comment Signed-off-by: wfan <wfan@lycorp.co.jp> * (revert later) confirm race resolved Signed-off-by: wfan <wfan@lycorp.co.jp> * Exclude from certificate monitoring if SIA's Certificate File or Ca Cert File Path is Empty (#171) * exclude from cert monitoring Signed-off-by: myajima <myajima@lycorp.co.jp> * use anonymous func Signed-off-by: myajima <myajima@lycorp.co.jp> * only service cert Signed-off-by: myajima <myajima@lycorp.co.jp> --------- Signed-off-by: myajima <myajima@lycorp.co.jp> Signed-off-by: wfan <wfan@lycorp.co.jp> * Revert "(revert later) confirm race resolved" This reverts commit 2e8bfe6. Signed-off-by: wfan <wfan@lycorp.co.jp> --------- Signed-off-by: wfan <wfan@lycorp.co.jp> Signed-off-by: myajima <myajima@lycorp.co.jp> Co-authored-by: y-myajima <137997379+y-myajima@users.noreply.github.com>
Description
Fixed an issue where a warning log from the x509-certificate-exporter was unnecessarily output when CA_CERT_FILE was empty at startup.
#134
Assignees
Assignees
is setType of changes
labels
of the following that fits:bug
: Bug fixdependencies
: Dependency upgradesdocumentation
: Documentation changesenhancement
: New Featuregood first issue
: First contributionlogging
: Log changesrefactor
: Refactoring (no functional changes, no api changes)Flags
Checklist
Checklist for maintainer