Add an environment variable that defines which config to load
See https://stackoverflow.com/a/63873828
We need to use a different function for loading the k8s config when running inside a cluster.
This MR is neccessary for doing dashboard!52 (merged)