Skip to content

Commit

Permalink
unify makefiles docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed May 7, 2024
1 parent f07ed67 commit dcba3bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ build: generate fmt vet ## Build operator binary.
go build -o bin/operator main.go

.PHONY: run
run: manifests generate fmt vet ## Run a controller from your host.
run: manifests generate fmt vet ## Run a operator from your host.
go run ./main.go

.PHONY: docker-build-dev
Expand Down Expand Up @@ -87,7 +87,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
$(KUSTOMIZE) build $(CONFIG_OPERATOR)/crd | kubectl delete --ignore-not-found=$(IGNORE_NOT_FOUND) -f -

.PHONY: deploy-main
deploy-main: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
deploy-main: manifests kustomize ## Deploy operator to the K8s cluster specified in ~/.kube/config.
kubectl create namespace kyma-system || true
$(KUSTOMIZE) build $(CONFIG_OPERATOR_MAIN) | kubectl apply -f -

Expand Down Expand Up @@ -117,7 +117,7 @@ deploy-local: build-image-operator ## Deploy operator to the K8s cluster specifi
IMG=$(IMG) make deploy

.PHONY: undeploy
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with IGNORE_NOT_FOUND=true to ignore resource not found errors during deletion.
undeploy: ## Undeploy operator from the K8s cluster specified in ~/.kube/config. Call with IGNORE_NOT_FOUND=true to ignore resource not found errors during deletion.
$(KUSTOMIZE) build $(CONFIG_OPERATOR) | kubectl delete --ignore-not-found=$(IGNORE_NOT_FOUND) -f -

.PHONY: render-manifest
Expand Down

0 comments on commit dcba3bf

Please sign in to comment.