1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00
policy-reporter/docs/CUSTOM_BOARDS.md
Frank Jogeleit 78f24497fa
Policy Reporter v3 (#482)
Policy Reporter v3

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2024-10-07 11:10:46 +02:00

70 lines
1.4 KiB
Markdown

# Policy Reporter UI - Custom Boards
CustomBoards allows you to configure additional dashboards with a custom subset of sources and namespaces, selected via a list and/or label selector
## Example CustomBoard Config
![Custom Boards](https://github.com/kyverno/policy-reporter/blob/3.x/docs/images/custom-boards/list.png)
```yaml
ui:
enabled: true
customBoards:
- name: System
namespaces:
list:
- kube-system
- kyverno
- policy-reporter
```
### CustomBoard with NamespaceSelector
![Custom Boards](https://github.com/kyverno/policy-reporter/blob/3.x/docs/images/custom-boards/selector.png)
```yaml
ui:
enabled: true
customBoards:
- name: System
namespaces:
selector:
group: system
```
### CustomBoard with ClusterResources
![Custom Boards](https://github.com/kyverno/policy-reporter/blob/3.x/docs/images/custom-boards/cluster.png)
```yaml
ui:
enabled: true
customBoards:
- name: System
clusterScope:
enabled: true
namespaces:
selector:
group: system
```
### CustomBoard with Source List
![Custom Boards](https://github.com/kyverno/policy-reporter/blob/3.x/docs/images/custom-boards/source.png)
```yaml
ui:
enabled: true
customBoards:
- name: System
clusterScope:
enabled: true
namespaces:
selector:
group: system
sources:
list: [kyverno]
```