Skip to content

Commit

Permalink
add custom board docs
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
Frank Jogeleit committed Feb 28, 2024
1 parent 00dcbff commit a65e459
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Documentation for upcoming features and changes for the new Policy Reporter UI v

* [Basic Installation](https://github.com/kyverno/policy-reporter/blob/3.x/docs/TUTORIALS.md)
* [OAUth2 / OpenIDConnect](https://github.com/kyverno/policy-reporter/blob/3.x/docs/UI_AUTH.md)
* [UI CustomBoards](https://github.com/kyverno/policy-reporter/blob/3.x/docs/CUSTOM_BOARDS.md)

## Documentation

Expand Down
62 changes: 62 additions & 0 deletions docs/CUSTOM_BOARDS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# 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:
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:
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:
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:
customBoards:
- name: System
clusterScope:
enabled: true
namespaces:
selector:
group: system
sources:
list: [kyverno]
```
Binary file added docs/images/custom-boards/cluster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/custom-boards/list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/custom-boards/selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/custom-boards/source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a65e459

Please sign in to comment.