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 gather functions to collect data from the system namespaces only #468

Merged
merged 2 commits into from
Jul 2, 2021

Conversation

qinpingli
Copy link
Contributor

IIUC, the gather functions (serviceaccount, installplan and container images) want to collect the resources in the system(openshift) namespaces only. So, we will check if the namespace has prefix openshift, but the openshift preserved namespace prefixes are openshift-, kube- per doc [1].

[1] https://docs.openshift.com/container-platform/4.7/applications/projects/working-with-projects.html

Categories

  • Bugfix
  • Enhancement
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

No changes

Documentation

No changes

Unit Tests

No changes

Privacy

No new collected data

Changelog

No

Breaking Changes

No

References

https://docs.openshift.com/container-platform/4.7/applications/projects/working-with-projects.html

@tremes
Copy link
Contributor

tremes commented Jul 1, 2021

@qinpingli Thanks for the PR. Good catch! I didn't know one can create e.g "openshifta" namespace. The unit tests are failing. Would you like to take a look pls?

@qinpingli
Copy link
Contributor Author

@tremes Thanks for the review. Submitted a new commit to fix the unit test error.

@tremes
Copy link
Contributor

tremes commented Jul 1, 2021

@qinpingli Thanks.
/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2021
@tremes
Copy link
Contributor

tremes commented Jul 2, 2021

Reviewed & verified. Thank you!
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 2, 2021
@openshift-ci
Copy link

openshift-ci bot commented Jul 2, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qinpingli, tremes

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@qinpingli
Copy link
Contributor Author

/test insights-operator-e2e-tests

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit de91f86 into openshift:master Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants