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

minikube addons enable registry-creds Failed #10022

Closed
steephengeorge opened this issue Dec 22, 2020 · 6 comments
Closed

minikube addons enable registry-creds Failed #10022

steephengeorge opened this issue Dec 22, 2020 · 6 comments
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@steephengeorge
Copy link

steephengeorge commented Dec 22, 2020

I am trying to set up Minikube in my local Windows machine against AWS ECR by following the instructions from here.

I successfully ran

minikube addons configure registry-creds

  • registry-creds was successfully configured

But it failed in following step

minikube addons enable registry-creds

X Exiting due to MK_ENABLE: run callbacks: running callbacks: [sudo KUBECONFIG=/var/lib/minikube/kubeconfig /var/lib/minikube/binaries/v1.19.4/kubectl apply -f /etc/kubernetes/addons/registry-creds-rc.yaml: Process exited with status 1 stdout:

stderr: error: error parsing /etc/kubernetes/addons/registry-creds-rc.yaml: error converting YAML to JSON: yaml: line 20: did not find expected key

minikube version: v1.15.1 with VirtualBox
commit: 23f40a0
Windows 10

I compared the latest version of registry-creds-rc.yaml with my local version, both are same.

@priyawadhwa priyawadhwa added the kind/support Categorizes issue or PR as a support question. label Dec 28, 2020
@priyawadhwa
Copy link

Hey @steephengeorge looks like this is a known issue with minikube version 1.15.x

#9893

This should have been fixed by #9733

Could you try upgrading to our latest release, v1.16.0, to see if that resolves the issue? Thank you!

@priyawadhwa priyawadhwa added the triage/needs-information Indicates an issue needs more information in order to work on it. label Dec 28, 2020
@steephengeorge
Copy link
Author

steephengeorge commented Jan 3, 2021

@priyawadhwa Thank you for the info. Windows choco didn't yet support V1.16.0. I will hack it and let you know

@priyawadhwa
Copy link

@steephengeorge sounds good, please let us know if the newest version works for you!

@spowelljr
Copy link
Member

@steephengeorge Any update?

@steephengeorge
Copy link
Author

steephengeorge commented Feb 24, 2021 via email

@steephengeorge
Copy link
Author

It is working as expected with version v1.17.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants