lvm-must-gather
is a tool built on top of OpenShift must-gather
that expands its capabilities to gather LVM Operator information.
oc adm must-gather --image=quay.io/lvms_dev/lvms-must-gather:latest
The command above will create a local directory with a dump of the lvm state.
You will get a dump of:
- The LVM Operator namespaces (and its children objects)
- All namespaces (and their children objects) that belong to any LVM resources
- All LVM CRD's definitions
Developers must follow these steps to make a change:
- Fork the
openshift/lvm-operator
repository on GitHub. - Create a branch from the master branch, or from a versioned branch (such
as
release-4.2
) if you are proposing a backport. - Make changes.
- Ensure your commit messages include sign-off.
- Push your changes to a branch in your fork of the repository.
- Submit a pull request to the
openshift/lvm-operator
repository. - Work with the community to make any necessary changes through the code review process (effectively repeating steps 3-7 as needed).
To test the changes in must-gather follow these steps:
- Run
make lvms-must-gather
- It will create an image named
quay.io/lvms_dev/lvm-must-gather:latest
- Tag it and push it to your image repository to use it with the
oc adm
command
- Follow the standards mentioned in LVM-Operator How to Contribute
- Tag the Pull Request with
must-gather