python icon indicating copy to clipboard operation
python copied to clipboard

feat: populate cluster config from client.authentication.k8s.io/exec …

Open ma-ts opened this issue 6 months ago • 5 comments

What type of PR is this?

/kind bug

What this PR does / why we need it:

populate ExecCredentialSpec.Cluster.config from the client.authentication.k8s.io/exec extension

Which issue(s) this PR fixes:

Fixes #2395

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Adds cluster config information to the exec credential provider if the client.authentication.k8s.io/exec extension is provided.

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


Recreating PR since https://github.com/kubernetes-client/python/pull/2396 has CLA issues. Credits go to @wkloucek

ma-ts avatar May 27 '25 18:05 ma-ts

Welcome @ma-ts!

It looks like this is your first PR to kubernetes-client/python 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-client/python has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. :smiley:

k8s-ci-robot avatar May 27 '25 18:05 k8s-ci-robot

@fabianfv @yliaog Any comments about this PR? Would be nice if we can release this, so that clusters using these extensions can be managed with this library.

Also fixes some big issues on the Azure CLI managing these clusters from Azure.

ma-ts avatar May 31 '25 15:05 ma-ts

/assign @yliaog

roycaihw avatar Jun 04 '25 20:06 roycaihw

could you please take a look at the test failure?

yliaog avatar Jun 04 '25 21:06 yliaog

/close

will reopen to trigger CI

yliaog avatar Aug 19 '25 23:08 yliaog

@yliaog: Closed this PR.

In response to this:

/close

will reopen to trigger CI

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Aug 19 '25 23:08 k8s-ci-robot

/reopen

yliaog avatar Aug 19 '25 23:08 yliaog

@yliaog: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Aug 19 '25 23:08 k8s-ci-robot

/lgtm /approve

yliaog avatar Aug 20 '25 16:08 yliaog

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ma-ts, yliaog

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

k8s-ci-robot avatar Aug 20 '25 16:08 k8s-ci-robot