sttts / kubectl-http

Httpie krew plugin for kubectl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kubectl-http - httpie krew plugin for kubectl

Call httpie with the credentials and the apiserver base URL of the current kubeconfig context.

Install

  1. Install httpie.
  2. Install the kubectl plugin manager krew
  3. Install this plugin: kubectl krew install http.

Use

kubectl http --help
kubectl http -v /api/v1/namespaces/default/configmaps/foo
kubectl http put /api/v1/namespaces/default/configmaps/foo < configmap.yaml

About

Httpie krew plugin for kubectl

License:Apache License 2.0


Languages

Language:Shell 100.0%