-
Notifications
You must be signed in to change notification settings - Fork 48
lokoctl fails to discover kubeconfig when cluster
block is defined
#105
Comments
@surajssd is your cluster installed? I think this is intended, if you have |
The cluster is installed but I don't have it in this folder, in some other directory the asset exists. |
I suggest running again |
Even if we fail we should fail with an error that tells user what they have done wrong then. |
I guess we could check if the cluster has been installed and if kubeconfig exists and give appropriate error message. And also suggest, that configuration files for cluster were found, so it will be installed on this cluster. We could also pull |
I'll close this and let's track it in #608. |
When I try to install the components defined in the
.lokocfg
file that also has cluster information (cluster "packet" {
) then I get following error.I think it is trying to look for kubeconfig in the assets directory when there is none.
This error is encountered on:
But this error is not seen if there is no
cluster
block defined in the directory.The text was updated successfully, but these errors were encountered: