diff --git a/cmd/root.go b/cmd/root.go index 5709512..261556c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -54,10 +54,11 @@ func init() { // use the current context in kubeconfig config, err := clientcmd.BuildConfigFromFlags("", kubeconfig) - config.WarningHandler = rest.NoWarnings{} if err != nil { panic(err.Error()) } + config.UserAgent = "pspmigrator" + config.WarningHandler = rest.NoWarnings{} // create the clientset clientset, err = kubernetes.NewForConfig(config)