kor
kor copied to clipboard
Feature: User Impersonation
Is your feature request related to a problem? Please describe.
Currently we are using Kor to produce a report of unused resources across our K8s infra. Our users need to escalate to an admin user via user impersonation to run high risk activities such as a PVC delete. Currently if we try to use the delete commands it does not work because Kor does not accept a --as admin
flag
Describe the solution you'd like
Allow for a --as
flag for running deletions from the Kor CLI
Describe alternatives you've considered Currently I have got around this by running Kor and outputting the resources to be cleaned to json then iterating over a list of resources and the kubectl command to delete the resource. It would be great if we could remove this step and allow for user impersonation.