Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 966 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 966 Bytes

kubeconfig-generator

A simple script for generating kubeconfig for a provided service account

GitHub last commit (branch) Version license

⚠️ Starting from Kubernetes version 1.22 ServiceAccount token secrets are no longer automatically created. You can read more about it here.

Requirements

  • kubectl

Installation

The script can be installed using brew:

brew install shini4i/tap/kubeconfig-generator

Usage

kubeconfig-generator <service_account> <namespace>

If the namespace is omitted, the currently selected namespace will be used.