Skip to content

Conversation

swghosh
Copy link
Member

@swghosh swghosh commented Aug 14, 2025

Proposal for an OLM day-2 Technology Preview operator that helps collect must-gather data and (possibily) automatically upload an archive to a Red Hat support case.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 14, 2025

@swghosh: This pull request references MG-62 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 spike to target the "4.20.0" version, but no target version was set.

In response to this:

Proposal for an OLM day-2 Technology Preview operator that helps collect must-gather data and (possibily) automatically upload an archive to a Red Hat support case.

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 14, 2025
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 14, 2025
Copy link
Contributor

openshift-ci bot commented Aug 14, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@swghosh swghosh force-pushed the mg-operator branch 3 times, most recently from 3849836 to 671e7fd Compare August 14, 2025 21:37
@swghosh swghosh changed the title MG-62: [draft] Proposal for must-gather-operator MG-62: Proposal for must-gather-operator Sep 9, 2025
@swghosh swghosh marked this pull request as ready for review September 9, 2025 09:08
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 9, 2025
@swghosh
Copy link
Member Author

swghosh commented Sep 9, 2025

/cc @rausingh-rh
Please review the section around Resource Retention Policy and suggest changes as reasonable. Also, I've pasted the same sequence diagram generated by openshift/must-gather-operator#259 (comment).

@swghosh swghosh changed the title MG-62: Proposal for must-gather-operator MG-62: Proposal for Support Log Gather i.e. must-gather operator Sep 9, 2025
@swghosh swghosh changed the title MG-62: Proposal for Support Log Gather i.e. must-gather operator MG-62: Support Log Gather i.e. must-gather operator Sep 9, 2025
@swghosh swghosh changed the title MG-62: Support Log Gather i.e. must-gather operator MG-62,MG-94: Support Log Gather i.e. must-gather operator Sep 10, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 10, 2025

@swghosh: This pull request references MG-62 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 sub-task to target the "4.21.0" version, but no target version was set.

This pull request references MG-94 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 spike to target the "4.21.0" version, but no target version was set.

In response to this:

Proposal for an OLM day-2 Technology Preview operator that helps collect must-gather data and (possibily) automatically upload an archive to a Red Hat support case.

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.

Copy link

@iamkirkbater iamkirkbater left a comment

Choose a reason for hiding this comment

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

Non blocking, but I think making these changes now at the outset will keep a much cleaner API structure in the future if/when we extend the functionality.

@swghosh
Copy link
Member Author

swghosh commented Oct 3, 2025

@TrilokGeer @Prashanth684 PTAL :)

Incorporated the suggestions for the API spec change, thanks @iamkirkbater!

/cc @shivprakashmuley

Signed-off-by: Swarup Ghosh <[email protected]>
@Prashanth684 Prashanth684 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 13, 2025
Copy link
Contributor

openshift-ci bot commented Oct 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

}

// persistentVolumeClaimReference is a reference to a PersistentVolumeClaim.
type PersistentVolumeClaimReference struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

why exactly do we need it to be wrapped in this struct and not just a name as in the original?

// PersistentVolumeConfig defines the configuration for Persistent Volume storage.
type PersistentVolumeConfig struct {
// claim is a required field that specifies the configuration of the PersistentVolumeClaim that will be used to store the must-gather archive.
// The PersistentVolumeClaim must be created in the openshift-insights namespace.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// The PersistentVolumeClaim must be created in the openshift-insights namespace.
// The PersistentVolumeClaim must be created in the must gather operator namespace.

Copy link
Contributor

openshift-ci bot commented Oct 13, 2025

@swghosh: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/markdownlint 7812a8e link true /test markdownlint

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-sigs/prow repository. I understand the commands that are listed here.

@Prashanth684
Copy link
Contributor

Maybe a question that should have been asked before - why is the MustGather a namespace scoped CR and not a cluster scoped CR?

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants