Skip to content

Commit 8dbd443

Browse files
committed
use hybrid controller instead of the pre-built version
1 parent 6e30bde commit 8dbd443

File tree

1 file changed

+17
-0
lines changed
  • pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates

1 file changed

+17
-0
lines changed

pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates/makefile.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,23 @@ all: build
109109
help: ## Display this help.
110110
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
111111
112+
##@ Build
113+
.PHONY: build
114+
build: generate fmt vet ## Build manager binary.
115+
go build -o bin/manager main.go
116+
117+
.PHONY: run
118+
run: helm-operator ## Run against the configured Kubernetes cluster in ~/.kube/config
119+
go run ./main.go
120+
121+
.PHONY: docker-build
122+
docker-build: ## Build docker image with the manager.
123+
docker build -t ${IMG} .
124+
125+
.PHONY: docker-push
126+
docker-push: ## Push docker image with the manager.
127+
docker push ${IMG}
128+
112129
##@ Development
113130
114131
.PHONY: manifests

0 commit comments

Comments
 (0)