-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: add exporter rbac #246
Conversation
So the operator has permission to create rbac? Is this appropriate? |
) | ||
|
||
func (e *nebulaExporter) checkExporterRBAC(nc *v1alpha1.NebulaCluster) error { | ||
if err := e.createServiceAccount(nc); err != nil { |
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.
The rbac of operaotor seems not to be updated, because you need new permissions?
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
Collect string `json:"collect,omitempty"` | ||
|
||
// Ingore means the regex to ignore metrics | ||
// +optional | ||
Ignore string `json:"ignore,omitempty"` |
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 think CollectedRegex and IgnoredRegex more appropriate
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
support metrics filter
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: