Skip to content
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

find-secrets: Don't fail and only show a warning in case of missing permissions #7

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

christophetd
Copy link
Collaborator

@christophetd christophetd commented Jun 1, 2023

cc @emtunc

Context: In some cases, the person running mkat won't have some permissions. Typically, list secrets is often blocked (for a good reason).

Behavior before the PR: fail if any of (secrets, pods, configmaps) cannot be listed.

New behavior: print a warning and continue.

@christophetd christophetd requested a review from raesene June 1, 2023 10:26
Copy link

@raesene raesene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christophetd christophetd merged commit dd01a81 into main Jun 1, 2023
@christophetd christophetd deleted the no-fail-on-missing-k8s-permissions-find-secrets branch June 1, 2023 11:06
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