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] native Kubernetes client #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on Jul 19, 2019

  1. Begin implementing a native Kubernetes client

    This adds a WIP implementation of a lightweight Kubernetes client,
    or in other words, a kubeconfig parser with some integration with
    reqwest to configure auth. It only needs serde_yaml and reqwest.
    
    Ideally this should end up being much smaller than a 'proper' client
    and can easily support the few functions we actually care about
    (auth, proxies, streamed responses, websockets, exotic kubeconfig
    formats, ...).
    
    This at least properly parses all the kubeconfigs I have handy,
    including minikube, microk8s, eks, kubeadm, and a few others.
    timothyb89 committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    165a2bf View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. More kubernetes client work

     - bumps reqwest version for proxy support
     - mostly implements KubernetesClient::new()
     - adds notes about all the tls libs being broken :/
    
    Signed-off-by: Tim Buckley <[email protected]>
    timothyb89 committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    33f9592 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. Additional Kubernetes client work

     - separate enum structs
     - fully implement exec auth
     - honor insecure-skip-tls-verify
     - implement reauthentication and expiry checks for exec auth
       - split `KubernetesClient::new()` and `KubernetesClient::from_context()`
    timothyb89 committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    c894d39 View commit details
    Browse the repository at this point in the history