godaddy/kubernetes-client

Add config examples for constructing clients

開放

#220 建立於 2018年3月10日

 (10 則留言) (1 個反應) (0 位負責人)JavaScript (206 個分叉)batch import
help wantedrequest for example

倉庫指標

星標
 (954 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南