ContainerImage.Pinniped/cmd
Matt Moyer 4e25bcd4b2
Generate more helpful context/cluster/user names in `pinniped get kubeconfig`
Before this change, the "context", "cluster", and "user" fields in generated kubeconfig YAML were always hardcoded to "pinniped". This could be confusing if you generated many kubeconfigs for different clusters.

After this change, the fields will be copied from their names in the original kubeconfig, suffixed with "-pinniped". This suffix can be overridden by setting the new `--generated-name-suffix` CLI flag.

The goal of this change is that you can distinguish between kubeconfigs generated for different clusters, as well as being able to distinguish between the Pinniped and original (admin) kubeconfigs for a cluster.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-04-05 12:36:02 -05:00
..
local-user-authenticator dynamiccert: split into serving cert and CA providers 2021-03-15 12:24:07 -04:00
pinniped Generate more helpful context/cluster/user names in `pinniped get kubeconfig` 2021-04-05 12:36:02 -05:00
pinniped-concierge Merge remote-tracking branch 'upstream/main' into supervisor-with-discovery 2020-10-07 11:37:33 -04:00
pinniped-supervisor Use new 'go.pinniped.dev/generated/latest' package. 2021-02-16 13:00:08 -06:00