policy-reporter-ui

command module
v0.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 9 Imported by: 0

README

Policy Reporter UI

Motivation

Policy Reporter supports different kinds of targets and a metrics Endpoint to provide as many information about your (Cluster)PolicyReports as possible, but this targets and also the dashboards have external dependencies. You need tools like Grafana, Kibana or Discord to make information visible.

In the most production clusters are monitoring solutions available, so it is not big deal. If you don't have any (supported) monitoring solution, it is additional work and it needs not insignificant resources.

To make Policy Reporter more accessible, this additional tool adds a standalone, minimal UI. It offers the same information as the provided Grafana Dashboards and is installable as optional SubChart in the Policy Reporter Helm Chart.

Requirements

Policy Reporter runs with the enabled REST API endpoints.

Configuration

Flags
  • -backend is the URL to the Policy Reporter REST API
  • -port is the default port for the UI (8080 by default)
  • -dev enables development mode and adds CORS Headers to the REST API Endpoints

Running with Docker

docker run -p 8080:8080 --rm fjogeleit/policy-reporter-ui -backend http://host.docker.internal:8081

Screenshots

Dashboard

Policy Reports

ClusterPolicyReports

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL