Skip to content

Documentation for user impersonation via kubeconfig #38662

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

Open
aljoshare opened this issue Dec 27, 2022 · 7 comments
Open

Documentation for user impersonation via kubeconfig #38662

aljoshare opened this issue Dec 27, 2022 · 7 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@aljoshare
Copy link

This is a Feature Request

What would you like to be added
Currently, only the impersonation of users via headers and kubectl flags is documented. It would be helpful to also explain and describe the possibility to configure user impersonation via kubeconfig.

Why is this needed
Its sometimes helpful to configure the user impersonation via kubeconfig, e.g. for external tooling (Example: istio/istio#22365 (comment)) but currently you need to know that it is possible and check the API spec for further information.

Comments

@aljoshare aljoshare added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 27, 2022
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Dec 27, 2022
@sftim
Copy link
Contributor

sftim commented Dec 29, 2022

There's a reference at https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/

Are you looking for a task page that explains how to set up a kubeconfig for accessing a single cluster? We don't yet have one of those.
I'll file an issue.

@aljoshare
Copy link
Author

I would love to see a short example as part of the user impersonation section in the docs. There is an example for kubectl and a general description of the headers but there is no example for it via kubeconfig.

https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation

@sftim
Copy link
Contributor

sftim commented Dec 29, 2022

If we add the page that #38681 calls for, https://kubernetes.io/docs/reference/access-authn-authz/authentication/#user-impersonation could link there.

I like hyperlinks - it's easier to maintain pages when we write content once and link to it, than if we duplicate.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 29, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 29, 2023
@sftim
Copy link
Contributor

sftim commented May 16, 2023

/lifecycle frozen
/triage accepted
/remove-lifecycle rotten
/priority backlog

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels May 16, 2023
@k8s-triage-robot
Copy link

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

  • Confirm that this issue is still relevant with /triage accepted (org members only)
  • Close this issue with /close

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. and removed triage/accepted Indicates an issue or PR is ready to be actively worked on. labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

4 participants