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

chore: add rollout tagets to makefile (#6094)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-01-29 00:09:54 +01:00 committed by GitHub
parent 7a92cf3f4b
commit 84b7813793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -764,6 +764,25 @@ kind-deploy-reporter: $(HELM) ## Deploy policy-reporter helm chart
--values ./scripts/config/standard/kyverno-reporter.yaml
@kubectl port-forward -n policy-reporter services/policy-reporter-ui 8082:8080
###########
# ROLLOUT #
###########
.PHONY: rollout-cleanup-controller
rollout-cleanup-controller: ## Rollout cleanup-controller deployment
@kubectl rollout restart deployment -n kyverno -l app.kubernetes.io/component=cleanup-controller
.PHONY: rollout-reports-controller
rollout-reports-controller: ## Rollout reports-controller deployment
@kubectl rollout restart deployment -n kyverno -l app.kubernetes.io/component=reports-controller
.PHONY: rollout-admission-controller
rollout-admission-controller: ## Rollout admission-controller deployment
@kubectl rollout restart deployment -n kyverno -l app.kubernetes.io/component=admission-controller
.PHONY: rollout-all
rollout-all: rollout-cleanup-controller rollout-reports-controller rollout-admission-controller ## Rollout all deployment
###########
# DEV LAB #
###########