kubectl-plugins

module
v0.0.0-...-21b2222 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2021 License: MIT

README ยถ

Kubernetes CLI plugins

This repository contains various kubectl plugins to facilitate recurrent operations on a cluster.

To build and install all plugins at once, run the following command:

$ make

๐Ÿ”’ kubectl-sa-access

This plugin allows you to generate (or edit) a kubeconfig for a specific ServiceAccount:

Usage
usage: kubectl-sa-access [--help] [--completion] [--namespace NAMESPACE] [--in-place] [SERVICEACCOUNTNAME]

Generate kubeconfig for a ServiceAccount

positional arguments:
  SERVICEACCOUNTNAME                   Name of the target ServiceAccount

optional arguments:
  --help, -h                           show this help message
  --completion                         show command completion script
  --namespace NAMESPACE, -n NAMESPACE  Kubernetes namespace of the target ServiceAccount
  --in-place, -i                       If set, edit existing kubeconfig, outputs a new kubeconfig to stdout otherwise
Build and install

To build the binary in the ./build/ folder:

$ make build/kubectl-sa-access

Or if you want to install it directly:

$ make install/kubectl-sa-access

๐Ÿ“„ License

All those plugins are released under the terms of the MIT License.

Directories ยถ

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL