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

Allow certificates to be optionally embedded in .kube/config #3065

Merged
merged 1 commit into from
Sep 3, 2018

Conversation

jstangroome
Copy link
Contributor

Opt-in with minikube config set embed-certs true. Similar to the
behaviour of kubectl config set-credentials --embed-certs.

Enables Minikube on Windows to produce a .kube/config file that
can be shared directly with kubectl inside the Windows Subsystem
for Linux (WSL) without needing to perform additional translation
of the certificate paths within the configuration file.

Fixes #3064

Opt-in with `minikube config set embed-certs true`. Similar to the
behaviour of `kubectl config set-credentials --embed-certs`.

Enables Minikube on Windows to produce a .kube/config file that
can be shared directly with kubectl inside the Windows Subsystem
for Linux (WSL) without needing to perform additional translation
of the certificate paths within the configuration file.
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 10, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jstangroome
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: dlorenc

If they are not already assigned, you can assign the PR to them by writing /assign @dlorenc in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@jstangroome
Copy link
Contributor Author

While I'd love to see embedded certificates in the .kube/config file become the default behaviour, starting with an opt-in-only approach seems least disruptive.

@jstangroome
Copy link
Contributor Author

/assign @dlorenc

@dlorenc
Copy link
Contributor

dlorenc commented Aug 14, 2018

@minikube-bot OK to test

@alexellis
Copy link

I could really use this.. @neolit123 any thoughts? How come this patch got "stuck"?

@alexellis
Copy link

@jstangroome with your changes at present, does this make .kube/config portable i.e. without a .minkube directory and separate files?

@jstangroome
Copy link
Contributor Author

@alexellis AFAIK, for running kubectl commands, my change means you only need the .kube/config file and you won't need the .minikube directory.

@alexellis
Copy link

That'd be perfect for my use-case. What is blocking this PR?

@neolit123
Copy link
Member

What is blocking this PR?

maybe the minikube maintainers can answer that.

@dlorenc dlorenc merged commit 9b21d3c into kubernetes:master Sep 3, 2018
@jstangroome jstangroome deleted the jstangroome-embed-certs branch September 3, 2018 22:28
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants