// InitClientSet helper to initialize a k8s clientset
InitClientSet helper to initialize a k8s clientset
// InitClientSet helper to initialize a k8s clientset
func InitClientSet() kubernetes.Interface {
	config, err := rest.InClusterConfig()
	if err != nil {
		panic(err.Error())
	}
	clientset, err := kubernetes.NewForConfig(config)
	if err != nil {
		panic(err.Error())
	}
	return clientset
}
func InitClientSet ( ) kubernetes . Interface { config , err := rest . InClusterConfig ( ) if err != nil { panic ( err . Error ( ) ) } clientset , err := kubernetes . NewForConfig ( config ) if err != nil { panic ( err . Error ( ) ) } return clientset }
InitClientSet helper to initialize a k8s clientset
InitClientSet helper to initialize a k8s clientset