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||-o||Overwrite config already in the kubeconfig-file|
|clear||-c||Delete config before retrieving new one|
|include-onprem||-io||Include legacy onprem clusters|
|verbose||-v||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