From df9ab1327f9efd622a3bdeb288bd40dd6c6854d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Thu, 15 Sep 2022 06:15:49 +0200 Subject: [PATCH] chore: add target to deploy policy reporter (#4621) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed878c181d..ab5d31116f 100644 --- a/Makefile +++ b/Makefile @@ -631,12 +631,21 @@ kind-deploy-kyverno: kind-load-all ## Build images, load them in kind cluster an .PHONY: kind-deploy-kyverno-policies kind-deploy-kyverno-policies: ## Deploy kyverno-policies helm chart - @echo Restart kyverno-policies chart... + @echo Install kyverno-policies chart... @helm upgrade --install kyverno-policies --namespace kyverno --create-namespace ./charts/kyverno-policies .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 +.PHONY: kind-deploy-reporter +kind-deploy-reporter: ## Deploy policy-reporter helm chart + @echo Install policy-reporter chart... + @helm upgrade --install policy-reporter --repo https://kyverno.github.io/policy-reporter policy-reporter -n policy-reporter \ + --set ui.enabled=true \ + --set kyvernoPlugin.enabled=true \ + --create-namespace + @kubectl port-forward -n policy-reporter services/policy-reporter-ui 8082:8080 + ######## # HELP # ########