func CreateNamespace(name, kubeContext string, print bool) error {
	clientset, err := getClientSet(kubeContext)
	if err != nil {
		return err
	}
	nsSpec := &v1.Namespace{ObjectMeta: metav1.ObjectMeta{
		Name: name,
	}}
	_, err = clientset.CoreV1().Namespaces().Create(nsSpec)
	if err != nil {
		return err
	}
	if print {
		log.Printf("created namespace \"%s\"", name)
	}
	return nil
}
CreateNamespace creates a namespace
package utils
import (
	"fmt"
	"log"
	"os"
	"path/filepath"
	v1 "k8s.io/api/core/v1"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/client-go/kubernetes"
	_ "k8s.io/client-go/plugin/pkg/client/auth"  
	"k8s.io/client-go/rest"
	"k8s.io/client-go/tools/clientcmd"
)