diff options
author | Pablo Acevedo Montserrat <pacevedo@redhat.com> | 2023-09-19 12:18:42 +0200 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2023-09-19 09:59:04 -0400 |
commit | 0b72a1f07a5f46e22cb926d129bd8eb63ba20a9a (patch) | |
tree | 4107dde6a72dfe5e6c3e323806d75aa451051a74 | |
parent | 6652c5b06e80fdf33268efda6a26d9300ce2df5a (diff) | |
download | sos-0b72a1f07a5f46e22cb926d129bd8eb63ba20a9a.tar.gz |
[microshift] Add /etc/microshift file copy spec
Signed-off-by: Pablo Acevedo Montserrat <pacevedo@redhat.com>
-rw-r--r-- | sos/report/plugins/microshift.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/report/plugins/microshift.py b/sos/report/plugins/microshift.py index 669f4c02..8fe39ab2 100644 --- a/sos/report/plugins/microshift.py +++ b/sos/report/plugins/microshift.py @@ -146,6 +146,9 @@ class Microshift(Plugin, RedHatPlugin): Output format for this function is based on `oc adm inspect` command, which is used to retrieve all API resources from the cluster. """ + + self.add_copy_spec('/etc/microshift') + if self.path_exists('/var/lib/microshift-backups'): self.add_copy_spec(['/var/lib/microshift-backups/*/version', '/var/lib/microshift-backups/*.json']) |