-
Notifications
You must be signed in to change notification settings - Fork 141
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
LOG-5186: Refactor input filter for includes and excludes #2404
LOG-5186: Refactor input filter for includes and excludes #2404
Conversation
@cahartma: This pull request references LOG-5186 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.8.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest |
1c1fc54
to
ec423a9
Compare
/retest |
ec423a9
to
1d0efce
Compare
/test lint |
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.
/hold
@@ -306,6 +306,7 @@ max_read_bytes = 3145728 | |||
glob_minimum_cooldown_ms = 15000 | |||
auto_partial_merge = true | |||
include_paths_glob_patterns = ["/var/log/pods/test-ns_*/*/*.log"] | |||
exclude_paths_glob_patterns = ["/var/log/pods/*/*/*.gz", "/var/log/pods/*/*/*.tmp", "/var/log/pods/default_*/*/*.log", "/var/log/pods/kube*_*/*/*.log", "/var/log/pods/openshift*_*/*/*.log"] |
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.
@Clee2691 noted this is unnecessary given the include will never match the exclude which was a change I made for the original implementation. If it is more challenging in the implementation, I can be swayed to leave as-is
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'd prefer to keep it there for all. I wrote it to handle "*" but think it makes more sense to have it present.
internal/validations/clusterlogforwarder/validate_clusterlogforwarder_service_account.go
Show resolved
Hide resolved
1d0efce
to
89c4989
Compare
/retest |
1 similar comment
/retest |
89c4989
to
21fb917
Compare
21fb917
to
178ae8f
Compare
@cahartma: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/hold cancel |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cahartma, jcantrill The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3b403a3
into
openshift:master
Description
Some local tests are still failing so doubtful this will pass all of CI yet, but need to get this moving, so here goes. Please review and comment!
/cc @Clee2691 @vparfonov
/assign @jcantrill
Refactor the custom application include/exclude to change from:
to
Acceptance Criteria:
TODO:
Links