Remove kustomize from Makefile - we don't use it anymore
@@ -75,9 +75,9 @@ run:
go run -ldflags "${LDFLAGS}" ./cmd/manager/main.go
.PHONY: deploy
-# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
+# Install KUDO into a cluster via kubectl kudo init
deploy:
- @kustomize build config
+ go run -ldflags "${LDFLAGS}" cmd/kubectl-kudo/main.go init
.PHONY: deploy-clean
deploy-clean:
@@ -122,8 +122,6 @@ docker-build: generate lint
--build-arg build_date_arg=${BUILD_DATE_PATH}=${BUILD_DATE} . -t ${DOCKER_IMG}:${DOCKER_TAG}
docker tag ${DOCKER_IMG}:${DOCKER_TAG} ${DOCKER_IMG}:v${GIT_VERSION}
docker tag ${DOCKER_IMG}:${DOCKER_TAG} ${DOCKER_IMG}:latest
- @echo "updating kustomize image patch file for manager resource"
- sed -i'' -e 's@image: .*@image: '"${DOCKER_IMG}:v${GIT_VERSION}"'@' ./config/manager_image_patch.yaml
.PHONY: docker-push
# Push the docker image
