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

kube2sky ignores insecure-skip-verify in kubeconfig #13411

Closed
aaronlevy opened this issue Aug 31, 2015 · 4 comments
Closed

kube2sky ignores insecure-skip-verify in kubeconfig #13411

aaronlevy opened this issue Aug 31, 2015 · 4 comments
Assignees
Labels
priority/backlog Higher priority than priority/awaiting-more-evidence. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.

Comments

@aaronlevy
Copy link
Contributor

Trying to set insecure-skip-verify:true in a kubeconfig for use by kube2sky. However, the setting seems to be ignored (API requests fail with "certificate signed by unknown authority").

However, if a server is also specified in the kubeconfig, the insecure-skip-verify flag will be respected, and kube2sky can communicate with apiserver.

@thockin
Copy link
Member

thockin commented Sep 1, 2015

@JeffML @mikedanese - what is expected behavior here?

On Mon, Aug 31, 2015 at 3:45 PM, Aaron Levy notifications@github.com
wrote:

Trying to set insecure-skip-verify:true in a kubeconfig for use by
kube2sky. However, the setting seems to be ignored (API requests fail with
"certificate signed by unknown authority").

However, if a server is also specified in the kubeconfig, the
insecure-skip-verify flag will be respected, and kube2sky can communicate
with apiserver.


Reply to this email directly or view it on GitHub
#13411.

@lavalamp lavalamp added priority/backlog Higher priority than priority/awaiting-more-evidence. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. labels Sep 1, 2015
@lavalamp
Copy link
Member

lavalamp commented Sep 1, 2015

I think what is happening is that putting the server location in the kubeconfig file makes it not ignore the file.

@thockin
Copy link
Member

thockin commented Sep 1, 2015

Is that "correct"?
On Sep 1, 2015 11:28 AM, "Daniel Smith" notifications@github.com wrote:

I think what is happening is that putting the server location in the
kubeconfig file makes it not ignore the file.


Reply to this email directly or view it on GitHub
#13411 (comment)
.

@aaronlevy
Copy link
Contributor Author

Closing this as it's a year old, and I was probably being lazy at the time by not generating proper certs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/backlog Higher priority than priority/awaiting-more-evidence. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery.
Projects
None yet
Development

No branches or pull requests

3 participants