GitHunt
SH

shini4i/kubeconfig-generator

A simple script for generating kubeconfig for a provided service account

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.

Languages

Shell100.0%

Contributors

MIT License
Created September 8, 2022
Updated November 10, 2022