Skip to content

Commit

Permalink
[microshift] Add /etc/microshift file copy spec
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Acevedo Montserrat <[email protected]>
  • Loading branch information
pacevedom committed Sep 19, 2023
1 parent 6652c5b commit 64d6b0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sos/report/plugins/microshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ def setup(self):
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'])
Expand Down

0 comments on commit 64d6b0d

Please sign in to comment.