In the Kubernetes world, it is an established convention that tooling picks up the cluster connection information from "~/.kubec/config". This works for Kubernetes & OpenShift.
I suggest to do the same for this component, so that a user does not have to replicate this information in .env.