-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Hide sensitive Wechat configuration + remove default fields #1253
Hide sensitive Wechat configuration + remove default fields #1253
Conversation
a5742f5
to
9a57ecb
Compare
config/notifiers.go
Outdated
}, | ||
Message: `{{ template "wechat.default.message" . }}`, | ||
APISecret: `{{ template "wechat.default.api_secret" . }}`, | ||
ToUser: `{{ template "wechat.default.to_user" . }}`, |
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.
Why aren't these templated? We do for other notifiers.
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.
I must admit I have no clue. @songjiayang any insight?
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.
Hi, guys, I don't known the benefit of templated this fields, I support to delete it like @simonpasquier pr.
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.
I say we leave it in and just update the wechat secrets to the Secret
type for this PR.
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.
Ack @stuartnelson3. I've rebased the PR to remove the commit on the templated fields.
004ab84
to
79d1e5c
Compare
@stuartnelson3 sorry about didn't solve the issues theses days because of some individual things. |
…heus#1253) The cpu frequency information is not always needed and/or available. This change allows the cpu frequency metrics to be enabled/disabled separately from the other cpu metrics, and also prevents a frequency metric failure (such as a parse error) from failing the main cpu collector. Fixes prometheus#1241 Signed-off-by: Paul Gier <pgier@redhat.com>
No description provided.