1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: add makefile target to deploy metrics server (#4627)

Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>

Co-authored-by: Prateek Pandey <prateek.pandey@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-09-15 08:18:02 +02:00 committed by GitHub
parent df9ab1327f
commit a27b0ab631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -634,8 +634,15 @@ kind-deploy-kyverno-policies: ## Deploy kyverno-policies helm chart
@echo Install kyverno-policies chart... @echo Install kyverno-policies chart...
@helm upgrade --install kyverno-policies --namespace kyverno --create-namespace ./charts/kyverno-policies @helm upgrade --install kyverno-policies --namespace kyverno --create-namespace ./charts/kyverno-policies
.PHONY: kind-deploy-metrics-server
kind-deploy-metrics-server: ## Deploy metrics-server helm chart
@echo Install metrics-server chart...
@helm upgrade --install metrics-server --repo https://charts.bitnami.com/bitnami metrics-server -n kube-system \
--set extraArgs={--kubelet-insecure-tls=true} \
--set apiService.create=true
.PHONY: kind-deploy-all .PHONY: kind-deploy-all
kind-deploy-all: | kind-deploy-kyverno kind-deploy-kyverno-policies ## Build images, load them in kind cluster and deploy helm charts kind-deploy-all: kind-deploy-metrics-server | kind-deploy-kyverno kind-deploy-kyverno-policies ## Build images, load them in kind cluster and deploy helm charts
.PHONY: kind-deploy-reporter .PHONY: kind-deploy-reporter
kind-deploy-reporter: ## Deploy policy-reporter helm chart kind-deploy-reporter: ## Deploy policy-reporter helm chart