Describe the bug
Running make deploy IMG=<some-registry>/model-registry-operator:tag as described in the README does not override the operator image by using the provided one, it keeps using the :latest.
The issue seems to be in the make deploy script, in particular: $(KUSTOMIZE) edit set image controller=${IMG} - where controller is not an image, therefore nothing is going to be replaced while issuing kustomize build
To Reproduce
Steps to reproduce the behavior:
Run cd config/manager && kustomize edit set image controller=quay.io/opendatahub/model-registry-operator:main-4c04ff7
config/manager/kustomization.yaml should contain the following changes:
Describe the bug Running
make deploy IMG=<some-registry>/model-registry-operator:tag
as described in the README does not override the operator image by using the provided one, it keeps using the:latest
.The issue seems to be in the
make deploy
script, in particular:$(KUSTOMIZE) edit set image controller=${IMG}
- wherecontroller
is not an image, therefore nothing is going to be replaced while issuingkustomize build
To Reproduce Steps to reproduce the behavior:
cd config/manager && kustomize edit set image controller=quay.io/opendatahub/model-registry-operator:main-4c04ff7
config/manager/kustomization.yaml
should contain the following changes:kustomize build .
orkustomize build config/manager
depending if you are in the target directory or in the root.:latest
image:Expected behavior The kustomized build should contain the overridden image:
image: quay.io/opendatahub/model-registry-operator:main-4c04ff7
Additional context n/a