Skip to content

Policy Reporter UI

Frank Jogeleit edited this page Jul 23, 2021 · 18 revisions

How it works

Policy Reporter UI is an additional application and communicate with Policy Reporter over the optional REST API. By installing the UI along with the Policy Reporter Helm Chart, the REST API will be automatically enabled.

Installation with Helm

helm repo add policy-reporter https://kyverno.github.io/policy-reporter
helm repo update
helm install policy-reporter policy-reporter/policy-reporter --set ui.enabled=true -n policy-reporter --create-namespace

Accessing via Port Forward

kubectl port-forward service/policy-reporter-ui 8082:8080 -n policy-reporter

Open http://localhost:8082/ in your browser.

Kyverno Plugin

The Kyverno Plugin extend the Policy Reporter UI with a Kyverno specific Dashboard. It provides information about your current policies and related validation results.

Configuration

The Kyverno Plugin runs as separated microservice with its own Subchart. To enable this subchart set kyvernoPlugin.enabled to true. This microservice can be used together with the Policy Reporter UI as well as the Monitoring Stack. To enable the Plugin in Policy Reporter UI set ui.plugins.kyverno to true.

Install Policy Reporter UI with Kyverno Plugin enabled

helm install policy-reporter policy-reporter/policy-reporter --set kyvernoPlugin.enabled=true --set ui.enabled=true --set ui.plugins.kyverno=true -n policy-reporter --create-namespace

Accessing via Port Forward

kubectl port-forward service/policy-reporter-ui 8082:8080 -n policy-reporter

Open http://localhost:8082/ in your browser.

Customization

The UI Subchart provides its own values.yaml with various possible customization options.

Screenshots

Policy Reporter UI - Dashboard

Policy Reporter UI - PolicyReport Details

Policy Reporter UI - ClusterPolicyReport Details

Policy Reporter UI - Log

Policy Reporter UI - Kyverno Dashboard Policy Reporter UI - Kyverno YAML View Policy Reporter UI - Kyverno Details Page