-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
wip: generate separate certs per profile #4968
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh 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 |
as I had expected, all tests passed except TestVersionUpgrade, which means:
my purpose to fix this issue is, to change the location of the certs on the vm from so when it's is doing a restart (not fresh starts) it can't find the certs and tries to regenerate them. |
after changing to folder form cert to profilecert still got this:
|
Added an issue to track this, separate from the race condition: #5353 |
This PR will move the certs into profile folder ( to avoid profiles share the same cert, since their IPs wont be same and we pin the the IP in the cert)
to fix race condition when running minikube profiles in parallel #4967
output of ls ~/.minikube/profiles/p42/certs/
output of $ cat ~/.kube/config
I tried it out on mac os hyperkit, with running two profiles locally (main profile and p42)
Suspect wont work !
I suspect, the test version upgrade will not work ! I believe because the current latest release makes the certs in old place, and the new minikube expects at a different place.
imperfections to fix later !
before this PR I noticed we had certs in both root of ~/.minikube and also ~/.minikube/certs
it seems to be left over certs that after generation were supposed to be moved to certs folder.
but hopefully my suspection is wrong !
this needs another loving PR to clean that up !