github.com/argoproj/argo-cd@v1.8.7/cmd/argocd-application-controller/main.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "os" 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 "github.com/argoproj/argo-cd/cmd/argocd-application-controller/commands" 15 ) 16 17 func main() { 18 if err := commands.NewCommand().Execute(); err != nil { 19 fmt.Println(err) 20 os.Exit(1) 21 } 22 }