mogenius/punq

Error While Configuring and Selecting KUBECONFIG

kumarankit999 opened this issue · 2 comments

I have an issue while running the below commands which are for installing punq:
image

There have been some issues while selecting $Kubeconfig

image

To resolve this we have to change or Update the documentation of punq which we are using without ingress as per our need.

Sorry for waiting so long for a reply. The error message was not good enough and did not help you. I have replaced it with:

logger.Log.Fatalf("Error: $KUBECONFIG is not set, and the default Kubernetes context cannot be loaded. The $KUBECONFIG environment variable specifies the kubeconfig file path, which is essential for connecting to your Kubernetes cluster. To resolve this, please set $KUBECONFIG by using 'kubectx' for easier context switching or by manually specifying the path to your kubeconfig file. For detailed instructions on configuring your kubeconfig, please refer to https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/.")

This should provide more detailed information how to handle this situation.

That's great @beneiltis!