upmc-enterprises / registry-creds

Allow for AWS ECR, Google Registry, & Azure Container Registry credentials to be refreshed inside your Kubernetes cluster via ImagePullSecrets
Other
346 stars 123 forks source link

How to deploy to minikube automatically? #72

Open davisford opened 5 years ago

davisford commented 5 years ago

So, I understand how to deploy with minikube addons configure registry-creds, etc. but I want to deploy this automatically on minikube start without having to run the commands.

Minikube docs say you can put an addon into ~/.minikube/addons and it will enable the addon on startup, but it isn't clear to me what to put in that folder? The yaml files, or the golang binary, or what?

Your docs seem to indicate that I can just deploy the two yaml files in k8s folder after modifying for appropriate secret values. So just deploy the secrets and the replication controller. Will that work without having to mess with minikube addons at all?

Thanks for the clarification.

nvanheuverzwijn commented 5 years ago

See this PR #63 it may help