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:
parent
df9ab1327f
commit
a27b0ab631
1 changed files with 8 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue