Closed glindstedt closed 6 years ago
Hi @glindste. Thanks for your PR.
I'm waiting for a kubernetes or GoogleCloudPlatform member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.
/ok-to-test
/lgtm, thx!
We should create a var kubectlArgs := []string{"kubectl", fmt.Sprintf("--kubeconfig=%s", kubeConfigPath)}
at the top and use that everywhere to prevent this from happening again.
We never want to use kubectl without --kubeconfig.
Currently the secret will be created in whatever clusters/namespaces you've configured in your normal kubeconfig.