godaddy/kubernetes-client

Add config examples for constructing clients

Open

#220 geöffnet am 10. März 2018

Auf GitHub ansehen
 (10 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (206 Forks)batch import
help wantedrequest for example

Repository-Metriken

Stars
 (954 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

All the current examples rely on config.fromKubeconfig(). Add examples that manually specify some of the config options.

  1. 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 new client instance using basic auth, and make an API call (e.g., get Pods or Deployments) to illustrate functionality.
  2. Update README.md the More examples section to include the new example.

Contributor Guide