Skip to content

Commit

Permalink
packages: Fix sosreport command to retrieve namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddyAndrieux committed Mar 30, 2022
1 parent 52c5009 commit 0d3e301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

- Make Loki pod resources configurable
(PR[#3737](https://github.com/scality/metalk8s/pull/3737))

### Bug fixes

- Fix MetalK8s sosreport plugin so that it properly retrieve namespaces
(PR[#3740](https://github.com/scality/metalk8s/pull/3740))

## Release 2.11.4
### Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion packages/common/metalk8s-sosreport/metalk8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def setup(self):

# get all namespaces in use
namespaces_result = self.exec_cmd(
"{0} get namespaces --no-headers"
"{0} get namespaces --no-headers "
"--output custom-columns=':metadata.name'".format(kube_cmd)
)
kube_namespaces = namespaces_result["output"].splitlines()
Expand Down

0 comments on commit 0d3e301

Please sign in to comment.