-
Notifications
You must be signed in to change notification settings - Fork 107
Use correct output path for replicasets in cluster resource collector #1910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @NoaheCampbell @bennyyang11 (just grabbed from recent committers 😄) |
527b3f4 to
aa6bcab
Compare
aa6bcab to
3dc0f54
Compare
|
Thanks for the PR. I suggest adding an update to the tests for this as well, something like: |
d8c93c3 to
8121ad5
Compare
8121ad5 to
1cc2a10
Compare
Thanks @xavpaice! I updated the e2es to check for the |
|
ah looks like the regression tests failed since the structure changed 🤔 and we need to update the baseline artifacts? |
|
Thanks for the contribution! This proved to be more difficult than I had expected due to some issues with the regression test suite. All is fixed here: #1936 |
|
I've merged #1936 which covers the change here - many thanks for kicking this off. |
Description, Motivation and Context
This PR updates the cluster resources collector to use the proper output path for replicasets. It currently writes replicaset resources to a directory called
statefulsets-errors.jsonWhile collecting a support-bundle from a cluster with restricted permissions, I came across this error:
I only ran into it because of permissions issues with collecting statefulsets, so the
statefulsets-errors.jsonfile was created.After building a binary from this branch, I was able to collect a bundle successfully.
Fixes: #1916
Checklist
Does this PR introduce a breaking change?