mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: name all cli command files the same (#8227)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
3e4ada64cf
commit
907af6d483
9 changed files with 4 additions and 7 deletions
|
@ -13,19 +13,16 @@ import (
|
|||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var (
|
||||
amazonKeychain = authn.NewKeychainFromHelper(ecr.NewECRHelper(ecr.WithLogger(io.Discard)))
|
||||
azureKeychain = authn.NewKeychainFromHelper(credhelper.NewACRCredentialsHelper())
|
||||
keychain = authn.NewMultiKeychain(
|
||||
func Command() *cobra.Command {
|
||||
amazonKeychain := authn.NewKeychainFromHelper(ecr.NewECRHelper(ecr.WithLogger(io.Discard)))
|
||||
azureKeychain := authn.NewKeychainFromHelper(credhelper.NewACRCredentialsHelper())
|
||||
keychain := authn.NewMultiKeychain(
|
||||
authn.DefaultKeychain,
|
||||
google.Keychain,
|
||||
github.Keychain,
|
||||
amazonKeychain,
|
||||
azureKeychain,
|
||||
)
|
||||
)
|
||||
|
||||
func Command() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "oci",
|
||||
Long: `This command is one of the supported experimental commands, and its behaviour might be changed any time.`,
|
||||
|
|
Loading…
Reference in a new issue