Last active
July 3, 2020 15:44
-
-
Save velotiotech/774e111162e6239fa80a7d0a1753b5c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubeconfig := filepath.Join( | |
os.Getenv("HOME"), ".kube", "config", | |
) | |
config, err := clientcmd.BuildConfigFromFlags("", kubeconfig) | |
if err != nil { | |
log.Fatal(err) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment