Skip to content

SUS-1703: rbac check on namespaces when gathering bundle#32

Open
stefanSpectro wants to merge 1 commit into
mainfrom
SUS-1703-report-rbac-failure
Open

SUS-1703: rbac check on namespaces when gathering bundle#32
stefanSpectro wants to merge 1 commit into
mainfrom
SUS-1703-report-rbac-failure

Conversation

@stefanSpectro

Copy link
Copy Markdown
Contributor

The purpose of this PR is to add checks during support bundle generation in regards to ensuring the correct RBAC is in place for a user to generate a complete bundle. These checks ensure a user can list namespaces, and also list pods within those namespaces. If they cannot, fail fast and output relevant logs and information to stdout and also write namespace coverage summary to namespace-coverage.txt file.

Negative case screenshot:
Screenshot 2026-06-16 at 8 52 57 AM

Positive case screenshot.
Screenshot 2026-06-16 at 8 54 39 AM

@stefanSpectro stefanSpectro requested a review from a team as a code owner June 16, 2026 15:34
@stefanSpectro stefanSpectro changed the title rbac check on namespaces when gathering bundle SUS-1703: rbac check on namespaces when gathering bundle Jul 9, 2026
@brathina-spectro

Copy link
Copy Markdown
Contributor

@stefanSpectro Can you add this to the edge bundle as well ?

@stefanSpectro stefanSpectro force-pushed the SUS-1703-report-rbac-failure branch from 41e1a6a to 0e1785b Compare July 9, 2026 18:03
@stefanSpectro

Copy link
Copy Markdown
Contributor Author

@stefanSpectro Can you add this to the edge bundle as well ?

Done, tested on an edge host and confirmed same stdout output and namespace-coverage.txt contents:
Screenshot 2026-07-09 at 12 04 16 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants