kubesecret

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Kubesecret

Kubesecret is a command-line tool that prints secrets and configmaps data of a kubernetes cluster. kubesecret -h for help pages.

Flags
-h, --help        help for [command]
    --kubeconfig  string    (optional) absolute path to the kubeconfig file (default "/Users/charmitro/.kube/config")
-n, --namespace   string Namespace for kubesecret to look into. (default "default")
Secrets
* kubesecret get secret                             : Prints all the secrets that are in the 'default' namespace.
* kubesecret get secret -n <namespace>              : Prints all the secrets that are in the provided namespace.
* kubesecret get secret <secretname> -n <namespace> : Prints all the data of provided secret.
ConfigMaps
* kubesecret get configmap                             : Prints all the configmaps that are in the 'default' namespace.
* kubesecret get configmap -n <namespace>              : Prints all the configmaps that are in the provided namespace.
* kubesecret get configmap <secretname> -n <namespace> : Prints all the data of provided configmap.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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