问题
I'm playing around wiht minikube and I have a config in my values.yaml
defined like this
image:
repository: mydocker.jfrog.io/mysql
I want it to point a to a local docker image that lives locally mysql/docker/dockerfile
I'm not sure what the syntax is can't find it in the docs
回答1:
Check the list of images on your local machine with docker image ls
. Let’s say rajesh12/mysql
is the image you want to use:
image:
repository: rajesh12/mysql
回答2:
This is a late reply. But I solved it by this way...
image:
registry: <docker_username>
name: <docker_image_name>
来源:https://stackoverflow.com/questions/56839317/kubernetes-helm-charts-pointing-to-a-local-docker-image