mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: add target to deploy policy reporter (#4621)
Signed-off-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
parent
f00c12e954
commit
df9ab1327f
1 changed files with 10 additions and 1 deletions
11
Makefile
11
Makefile
|
@ -631,12 +631,21 @@ kind-deploy-kyverno: kind-load-all ## Build images, load them in kind cluster an
|
||||||
|
|
||||||
.PHONY: kind-deploy-kyverno-policies
|
.PHONY: kind-deploy-kyverno-policies
|
||||||
kind-deploy-kyverno-policies: ## Deploy kyverno-policies helm chart
|
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
|
@helm upgrade --install kyverno-policies --namespace kyverno --create-namespace ./charts/kyverno-policies
|
||||||
|
|
||||||
.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-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 #
|
# HELP #
|
||||||
########
|
########
|
||||||
|
|
Loading…
Reference in a new issue