Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubectl context message #1050

Merged
merged 1 commit into from
Dec 7, 2016

Conversation

chrislovecnm
Copy link
Contributor

@chrislovecnm chrislovecnm commented Dec 4, 2016

Closes #397, #1000

Please review and merge.


This change is Reviewable

@chrislovecnm chrislovecnm added this to the 1.4.2 milestone Dec 4, 2016
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 4, 2016
fixing kubectl config path when set to multiple paths
@chrislovecnm chrislovecnm force-pushed the kubectl-context-message branch from 4cedd15 to bad489c Compare December 4, 2016 20:59
@chrislovecnm chrislovecnm changed the title [WIP] Kubectl context message Kubectl context message Dec 4, 2016
@chrislovecnm
Copy link
Contributor Author

Good to go 😀

@k8s-ci-robot
Copy link
Contributor

Jenkins Kubernetes AWS e2e failed for commit bad489c. Full PR test history.

The magic incantation to run this job again is @k8s-bot aws e2e test this. Please help us cut down flakes by linking to an open flake issue when you hit one in your PR.

@chrislovecnm
Copy link
Contributor Author

@k8s-bot aws e2e test this

@@ -183,20 +184,31 @@ func (c *KubeconfigBuilder) WriteKubecfg() error {
return err
}
}
fmt.Printf("Wrote config for %s to %q\n", c.Context, c.KubeconfigPath)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for now - but you know how I feel about fmt.Print*

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think I do @kris-nova ... Is this because we should be writing to a stream somewhere?

@krisnova
Copy link
Contributor

krisnova commented Dec 7, 2016

LGTM - simple change, and some much needed tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants