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

Update the marker for MustGatherContext #3479

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Update the marker for MustGatherContext #3479

merged 1 commit into from
Aug 1, 2022

Conversation

shzhou12
Copy link
Contributor

@shzhou12 shzhou12 commented Jul 22, 2022

The current marker 'namespaces' matches RHCOS SOSReport archives. RHCOS SOS-Report archives are always identified as MustGatherContext instead of SosArchiveContext, thus no rule hits result when running rules against RHCOS SOS-Report. The commit changes the marker of MustGatherContext to 'cluster-scoped-resources' to avoid matching RHCOS SOSReport.

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

Add your description here

The current marker 'namespaces' matches RHCOS SOSReport archives. RHCOS SOS-Report archives are always identified as MustGatherContext instead of SosArchiveContext, thus no rule hits result when running rules against RHCOS SOS-Report. The commit changes the marker of MustGatherContext to 'cluster-scoped-resources' to avoid matching RHCOS SOSReport.

Signed-off-by: shzhou <[email protected]>
@shzhou12
Copy link
Contributor Author

@xiangce Could you please help to review this MR?

@xiangce
Copy link
Contributor

xiangce commented Jul 25, 2022

@bfahr - I approved it since I think this would be a quick workaround for CCX rules to distinguish the sosreport and the must-gather more clearly before the long-term context resolution, Please have a review too.

@xiangce xiangce merged commit 640a031 into RedHatInsights:master Aug 1, 2022
xiangce pushed a commit that referenced this pull request Aug 1, 2022
The current marker 'namespaces' matches RHCOS SOSReport archives. RHCOS SOS-Report archives are always identified as MustGatherContext instead of SosArchiveContext, thus no rule hits result when running rules against RHCOS SOS-Report. The commit changes the marker of MustGatherContext to 'cluster-scoped-resources' to avoid matching RHCOS SOSReport.

Signed-off-by: shzhou <[email protected]>
(cherry picked from commit 640a031)
xiangce pushed a commit that referenced this pull request Sep 6, 2024
The current marker 'namespaces' matches RHCOS SOSReport archives. RHCOS SOS-Report archives are always identified as MustGatherContext instead of SosArchiveContext, thus no rule hits result when running rules against RHCOS SOS-Report. The commit changes the marker of MustGatherContext to 'cluster-scoped-resources' to avoid matching RHCOS SOSReport.

Signed-off-by: shzhou <[email protected]>
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.

3 participants