build kubecfg