![Matt Moyer](/assets/img/avatar_default.png)
- Adds two new subcommands: `pinniped get kubeconfig` and `pinniped login static` - Adds concierge support to `pinniped login oidc`. - Adds back wrapper commands for the now deprecated `pinniped get-kubeconfig` and `pinniped exchange-credential` commands. These now wrap `pinniped get kubeconfig` and `pinniped login static` respectively. Signed-off-by: Matt Moyer <moyerm@vmware.com>
21 lines
399 B
Go
21 lines
399 B
Go
// Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
//nolint: gochecknoglobals
|
|
var getCmd = &cobra.Command{
|
|
Use: "get",
|
|
Short: "get",
|
|
SilenceUsage: true, // do not print usage message when commands fail
|
|
}
|
|
|
|
//nolint: gochecknoinits
|
|
func init() {
|
|
rootCmd.AddCommand(getCmd)
|
|
}
|