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

Add olm resources to default must-gather #182

Merged
merged 1 commit into from Oct 6, 2020

Conversation

ecordell
Copy link
Contributor

@ecordell ecordell commented Oct 6, 2020

We've had some requests for this - it may be controversial, but this seemed as good a place as any to collect feedback.

for resource in "${resources[@]}"; do
oc adm inspect --dest-dir must-gather ${resource}
done

# Gather optional operator resources from all namespaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this should go into its own script (encase we ever need to add/filter things). Calling it by default from this script is fine (provided the collection is not astronomical amounts of data/information).

for resource in "${resources[@]}"; do
oc adm inspect --dest-dir must-gather ${resource}
done

# Gather optional operator resources from all namespaces
oc adm inspect --dest-dir must-gather -A olm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-A is limited to what oc versions (we need to make sure we don't back-port this past that point (and this introduce errors/failures in the collection process).

cc: @mfojtik

Copy link
Contributor

@sferich888 sferich888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 6, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ecordell, sferich888

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 6, 2020
@openshift-merge-robot openshift-merge-robot merged commit fa5a0c2 into openshift:master Oct 6, 2020
@sferich888
Copy link
Contributor

/cherry-pick release-4.6

@openshift-cherrypick-robot

@sferich888: new pull request created: #242

In response to this:

/cherry-pick release-4.6

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.

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.

None yet

5 participants