godaddy/kubernetes-client
Ver no GitHubAdd config examples for constructing clients
Open
#220 aberto em 10 de mar. de 2018
help wantedrequest for example
Métricas do repositório
- Stars
- (954 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
All the current examples rely on config.fromKubeconfig(). Add examples that manually specify some of the config options.
- create a new example in
examples/. The goal is to illustrate how to use basic auth and provide an end-to-end working example. With that in mind, the example should construct a newclientinstance using basic auth, and make an API call (e.g., get Pods or Deployments) to illustrate functionality. - Update README.md the More examples section to include the new example.