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

Add support for custom configuration #19

Merged
merged 4 commits into from
Jan 8, 2018
Merged

Conversation

Aergonus
Copy link
Collaborator

If someone has a cluster that isn't easily configured with InClusterConfig, this allows them to use a custom config. This does not change the user experience for normal users.

@asobti
Copy link
Owner

asobti commented Nov 9, 2017

Could you resolve the conflicts with this PR

}

if apiserverHost, override := cfg.ClusterAPIServerHost(); override {
fmt.Printf("API server host overriden to: %s\n", apiserverHost)
Copy link
Owner

Choose a reason for hiding this comment

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

This file is still using fmt (pre-glog commit) but is no longer importing the fmt package.

Here are the errors I'm seeing:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o kube-monkey
# github.com/asobti/kube-monkey/kubernetes
kubernetes/kubernetes.go:16:22: undefined: os
kubernetes/kubernetes.go:31:37: undefined: fmt
kubernetes/kubernetes.go:41:37: undefined: fmt
kubernetes/kubernetes.go:47:3: undefined: fmt
kubernetes/kubernetes.go:48:3: undefined: config

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ahh yes, I was on the go and unable to integrate the glog changes. It should now be using it glog style.

@Aergonus
Copy link
Collaborator Author

I developed this branch separately from glog

Resolved the conflicts correctly and verified the build locally :) ready for review

This was referenced Jan 3, 2018
@asobti asobti merged commit a28558b into asobti:master Jan 8, 2018
@Aergonus Aergonus deleted the unauth branch January 8, 2018 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants