Skip to content

Commit

Permalink
Remove "v" in image tag (#1403)
Browse files Browse the repository at this point in the history
* Remove v in image tag

* Review suggestions
  • Loading branch information
khewonc authored Sep 11, 2024
1 parent 00e96a5 commit 6d4bbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ uninstall: manifests $(KUSTOMIZE) ## Uninstall CRDs from a cluster

.PHONY: deploy
deploy: manifests $(KUSTOMIZE) ## Deploy controller in the configured Kubernetes cluster in ~/.kube/config
cd config/manager && $(ROOT)/$(KUSTOMIZE) edit set image controller=${IMG}
cd config/manager && $(ROOT)/$(KUSTOMIZE) edit set image controller=$(subst operator:v,operator:,$(IMG))
$(KUSTOMIZE) build $(KUSTOMIZE_CONFIG) | kubectl apply --force-conflicts --server-side -f -

.PHONY: undeploy
Expand Down

0 comments on commit 6d4bbd9

Please sign in to comment.