-
Notifications
You must be signed in to change notification settings - Fork 520
MG-62,MG-94: Support Log Gather i.e. must-gather operator #1830
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
base: master
Are you sure you want to change the base?
Conversation
@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:
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. |
Skipping CI for Draft Pull Request. |
3849836
to
671e7fd
Compare
/cc @rausingh-rh |
Signed-off-by: Swarup Ghosh <[email protected]>
@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:
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. |
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.
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.
@TrilokGeer @Prashanth684 PTAL :) Incorporated the suggestions for the API spec change, thanks @iamkirkbater! |
Signed-off-by: Swarup Ghosh <[email protected]>
[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 |
} | ||
|
||
// persistentVolumeClaimReference is a reference to a PersistentVolumeClaim. | ||
type PersistentVolumeClaimReference struct { |
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.
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. |
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.
// The PersistentVolumeClaim must be created in the openshift-insights namespace. | |
// The PersistentVolumeClaim must be created in the must gather operator namespace. |
@swghosh: The following test 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-sigs/prow repository. I understand the commands that are listed here. |
Maybe a question that should have been asked before - why is the MustGather a namespace scoped CR and not a cluster scoped CR? |
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.