When I build a image locally, I try to use that image in virtualmachine spec, I got the error from pod events:
Failed to pull image "my-local-image:tag": rpc error: code = Unknown desc = Error response from daemon: pull access denied for rancher-ubuntu, repository does not exist or may require 'docker login'
Is this because of the ImagePullPolicy = Always of pod? If yes, can you provide a way to change that default value? Thx.
When I build a image locally, I try to use that image in virtualmachine spec, I got the error from pod events:
Is this because of the
ImagePullPolicy = Always
of pod? If yes, can you provide a way to change that default value? Thx.https://github.com/rancher/vm/blob/f40cd374902cacf17dee43950586d8af836bbb58/pkg/controller/vm/util.go#L173