@arve0/kubeconfig

0.0.1 • Public • Published

@arve0/kubeconfig

Reads kubernetes context from $HOME/.kube/config or /var/secrets/kubernetes.io/serviceaccount.

Install

npm install @arve0/kubeconfig

Usage

const { getKubeContext } = require("@arve0/kubeconfig");

(async function main() {
  const context = await getKubeContext();
  console.log(context);
})();

Package Sidebar

Install

npm i @arve0/kubeconfig

Weekly Downloads

2

Version

0.0.1

License

Apache-2.0

Unpacked Size

7.49 kB

Total Files

5

Last publish

Collaborators

  • arve0