-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34e6d96
commit b7dc393
Showing
18 changed files
with
303 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
CONTAINER_TOOL ?= docker | ||
|
||
.PHONY: help | ||
help: | ||
@echo "Available targets:" | ||
@awk '/^[a-zA-Z0-9_-]+:.*?##/ { \ | ||
nb = index($$0, "##"); \ | ||
target = substr($$0, 1, nb - 2); \ | ||
helpMsg = substr($$0, nb + 3); \ | ||
printf " %-15s %s\n", target, helpMsg; \ | ||
}' $(MAKEFILE_LIST) | column -s ':' -t | ||
|
||
.PHONY: helm-chart | ||
helm-chart: ## Create Helm chart for the operator | ||
kustomize build operator/config/default | helmify ../charts/elasti | ||
|
||
.PHONY: generate-manifest | ||
generate-manifest: ## Generate deploy manifest | ||
kustomize build operator/config/default > ./operator/install.yaml | ||
kustomize build resolver/config/ > ./resolver/install.yaml | ||
|
||
.PHONY: deploy | ||
deploy: ## Deploy the operator and resolver | ||
kubectl apply -f ./resolver/install.yaml | ||
kubectl apply -f ./operator/install.yaml | ||
|
||
.PHONY: undeploy | ||
undeploy: ## Undeploy the operator and resolver | ||
kubectl delete -f ./resolver/install.yaml | ||
kubectl delete -f ./operator/install.yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.