Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add K6 threshold #5

Closed
wants to merge 18 commits into from
Prev Previous commit
Next Next commit
refactor
Signed-off-by: ShutingZhao <shuting@nirmata.com>
realshuting committed Oct 24, 2023
commit 83c3efd81a4d1566c91ffe8239c07cbb4e97a2be
12 changes: 8 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -31,9 +31,15 @@ $(HELM):
########

.PHONY: helm-add-repo # Add Kyverno chart repository
helm-add-repo: $(HELM)
@echo Add kyverno chart... >&2
@$(HELM) repo add kyverno https://kyverno.github.io/kyverno/

.PHONY: helm-install-kyverno
helm-install-kyverno: helm-add-repo ## Install kyverno helm chart
@echo Install kyverno chart... >&2
@$(HELM) upgrade --install kyverno --namespace kyverno --create-namespace --wait kyverno/kyverno --devel --values ./configs/kyverno/kyverno.yaml

########
# KIND #
########
@@ -43,7 +49,5 @@ kind-create-cluster: $(KIND) ## Create kind cluster
@echo Create kind cluster... >&2
@$(KIND) create cluster --name $(KIND_NAME) --image $(KIND_IMAGE) --config ./configs/kind/default.yaml

.PHONY: kind-install-kyverno
kind-install-kyverno: $(HELM) helm-add-repo ## Install kyverno helm chart
@echo Install kyverno chart... >&2
@$(HELM) upgrade --install kyverno --namespace kyverno --create-namespace --wait kyverno/kyverno --devel --values ./configs/kyverno/kyverno.yaml
.PHONY: kind-deploy-kyverno
kind-deploy-kyverno: helm-add-repo helm-install-kyverno ## Deploy kyverno helm chart