diff options
author | Jon Cope <jcope@redhat.com> | 2023-09-15 14:34:35 -0500 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2023-09-19 14:33:15 -0400 |
commit | 9e12fbad2d849fef42fbc939a3de47bd9745a5da (patch) | |
tree | f53ede3aae2332f0ef65530182f65c3c74778b5d | |
parent | 0b72a1f07a5f46e22cb926d129bd8eb63ba20a9a (diff) | |
download | sos-9e12fbad2d849fef42fbc939a3de47bd9745a5da.tar.gz |
[microshift] add kube-apiserver audit logs to collection path
do not perform redundant dir-exists check
Signed-off-by: Jon Cope <jcope@redhat.com>
-rw-r--r-- | sos/report/plugins/microshift.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/microshift.py b/sos/report/plugins/microshift.py index 8fe39ab2..a1716109 100644 --- a/sos/report/plugins/microshift.py +++ b/sos/report/plugins/microshift.py @@ -152,6 +152,7 @@ class Microshift(Plugin, RedHatPlugin): if self.path_exists('/var/lib/microshift-backups'): self.add_copy_spec(['/var/lib/microshift-backups/*/version', '/var/lib/microshift-backups/*.json']) + self.add_copy_spec(['/var/log/kube-apiserver/*.log']) self.add_cmd_output([ 'microshift version', |