Create a kubeconfig file for connecting to available clusters for you.
This requires that you have the gcloud command line tool installed, configured and logged in.
You can log in with
gcloud auth login --update-adc.
|Overwrite config already in the kubeconfig-file
|Delete config before retrieving new one
|Exclude clusters from the config, comma separated list of cluster names
|More output, mostly useful combined with overwrite
You don't have to use the environment variable
KUBECONFIG, instead you can use the default kubectl-folder
Delete the old
navikt/kubeconfig-repo and remove the environment file, and then run