Skip to content

[v12] Extend kubectl auth can-i support for kubernetes_resources RBAC rules#26586

Merged
tigrato merged 1 commit intobranch/v12from
tigrato/backport-26425
May 19, 2023
Merged

[v12] Extend kubectl auth can-i support for kubernetes_resources RBAC rules#26586
tigrato merged 1 commit intobranch/v12from
tigrato/backport-26425

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented May 19, 2023

Backport of #26425 to branch/v12

@github-actions github-actions Bot requested review from hugoShaka and r0mant May 19, 2023 11:03
@tigrato tigrato changed the title [v12] Extend kubectl auth can-i support for kubernetes_resources RBAC rules [v12] Extend kubectl auth can-i support for kubernetes_resources RBAC rules May 19, 2023
This PR extends the Teleport capabilities of kubectl auth can-i to support
evaluation of kubernetes_resources.

It also changes the error message to be clear to the users what's the
cause of the error and adds a warning when users try to edit invalid
roles.
@tigrato tigrato force-pushed the tigrato/backport-26425 branch from 8e012b7 to a9472fd Compare May 19, 2023 14:30
@tigrato tigrato added this pull request to the merge queue May 19, 2023
Merged via the queue into branch/v12 with commit 9e7a7d6 May 19, 2023
@tigrato tigrato deleted the tigrato/backport-26425 branch May 19, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants