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

[WIP][Feature]Configuraion support for kubernetes-client/c #4

Closed
ityuhui opened this issue Mar 21, 2020 · 14 comments
Closed

[WIP][Feature]Configuraion support for kubernetes-client/c #4

ityuhui opened this issue Mar 21, 2020 · 14 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@ityuhui
Copy link
Member

ityuhui commented Mar 21, 2020

Hi @brendandburns

In order to meet the requirement of client bronze requirements , I begin to implement the configuration utility now.

My design is adding a directory "config" under the directory kubernetes

c/kubernetes/config 

and some source files

c/kubernetes/config/kube_config.h
c/kubernetes/config/kube_config.c

to hold the utility functions.

What methods should we support at least ?

  • Basic Auth (username/password)
  • X509 Client certificate
  • Bearer tokens
  • encryption/TLS
@brendandburns
Copy link
Contributor

We should definitely also support exec
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuration

and probably clouds (GCP, Azure, AWS) auth.

Ideally we can make it pluggable so that people can dynamically register new authentication methods.

@ityuhui
Copy link
Member Author

ityuhui commented Mar 24, 2020

Status updated on Aug 21, 2020

  1. Support GCP, Azure, AWS by plugin library (the plugin framework and OIDC plugin are Implemented by PR [Configuration] Authentication plugin #26)

  2. Support exec following the specification https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuration (Implemented by PR [Configuration] Support exec for kubeconfig #12)

  3. Support load_k8s_config_in_cluster for

  1. Support load_k8s_config_out_of_cluster for

@ityuhui
Copy link
Member Author

ityuhui commented Apr 4, 2020

SSL client authentication is implemented by #7

@ityuhui
Copy link
Member Author

ityuhui commented Apr 8, 2020

X509 client certificate in kube config file is supported by the PR #9

@ityuhui
Copy link
Member Author

ityuhui commented Apr 16, 2020

Configuration of service token and CA in cluster is supported by the PR #10

@ityuhui
Copy link
Member Author

ityuhui commented May 29, 2020

@ityuhui
Copy link
Member Author

ityuhui commented Aug 21, 2020

auth provider plugin framework and OIDC plugin are implemented by the PR #26

@ityuhui
Copy link
Member Author

ityuhui commented Aug 21, 2020

Considering most of configuration cases are supported, I will suspend this task from now.

If other authentication method (e.g. AWS, Azure, GCP) is needed, I can continue by demand. And PR is welcome.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/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 Nov 19, 2020
@ityuhui
Copy link
Member Author

ityuhui commented Nov 19, 2020

/remove-lifecycle stale

Use this ticket to trace the current status of configuration support.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 19, 2020
@ityuhui ityuhui added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 11, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

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 11, 2021
@minerba minerba mentioned this issue Apr 5, 2021
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

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 May 1, 2021
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-contributor-experience at kubernetes/community.
/close

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/test-infra repository.

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/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants