kconfig

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

Usage

$ ./kconfig help cert
Create kubeconfig file with a specified certificate resources.

Usage:
  kconfig cert [flags]

Flags:
  -g, --group stringArray   group name
  -h, --help                help for cert
      --kubeconfig string   (optional) absolute path to the kubeconfig file (default /home/x/.kube/config)
  -o, --output string       output file - default stdout
  -u, --username string     user name

$ ./kconfig cert -u hello -g hello -o hello.config

$ kubectl get po --kubeconfig hello.config 
NAME                          READY   STATUS    RESTARTS       AGE
echoserver-78cc7857c5-d7bfb   1/1     Running   10 (17h ago)   43d
nginx-765b5f545d-4rn74        1/1     Running   10 (17h ago)   43d
nginx-765b5f545d-kv45x        1/1     Running   10 (17h ago)   43d

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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