github.com/argoproj/argo-cd@v1.8.7/cmd/argocd/main.go (about)

     1  package main
     2  
     3  import (
     4  	commands "github.com/argoproj/argo-cd/cmd/argocd/commands"
     5  	"github.com/argoproj/argo-cd/util/errors"
     6  
     7  	// load the gcp plugin (required to authenticate against GKE clusters).
     8  	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
     9  	// load the oidc plugin (required to authenticate with OpenID Connect).
    10  	_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
    11  	// load the azure plugin (required to authenticate with AKS clusters).
    12  	_ "k8s.io/client-go/plugin/pkg/client/auth/azure"
    13  )
    14  
    15  func main() {
    16  	err := commands.NewCommand().Execute()
    17  	errors.CheckError(err)
    18  }