Skip to content

Commit

Permalink
Bump Policy Reporter UI (#510)
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
fjogeleit authored Oct 15, 2024
1 parent bdafaeb commit 2a2c854
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
type: application
version: 3.0.0-rc.2
version: 3.0.0-rc.3
appVersion: 3.0.0-rc.2

icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
Expand Down
6 changes: 4 additions & 2 deletions charts/policy-reporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Policy Reporter watches for PolicyReport Resources.
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

![Version: 3.0.0-rc.2](https://img.shields.io/badge/Version-3.0.0--rc.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.2](https://img.shields.io/badge/AppVersion-3.0.0--rc.2-informational?style=flat-square)
![Version: 3.0.0-rc.3](https://img.shields.io/badge/Version-3.0.0--rc.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.0.0-rc.2](https://img.shields.io/badge/AppVersion-3.0.0--rc.2-informational?style=flat-square)

## Documentation

Expand Down Expand Up @@ -326,7 +326,7 @@ Open `http://localhost:8082/` in your browser.
| ui.image.registry | string | `"ghcr.io"` | Image registry |
| ui.image.repository | string | `"kyverno/policy-reporter-ui"` | Image repository |
| ui.image.pullPolicy | string | `"IfNotPresent"` | Image PullPolicy |
| ui.image.tag | string | `"2.0.0-rc.1"` | Image tag |
| ui.image.tag | string | `"2.0.0-rc.2"` | Image tag |
| ui.replicaCount | int | `1` | Deployment replica count |
| ui.tempDir | string | `"/tmp"` | Temporary Directory to persist session data for authentication |
| ui.logging.api | bool | `false` | Enables external api request logging |
Expand All @@ -341,6 +341,7 @@ Open `http://localhost:8082/` in your browser.
| ui.openIDConnect.callbackUrl | string | `""` | OpenID Connect Callback URL |
| ui.openIDConnect.clientId | string | `""` | OpenID Connect ClientID |
| ui.openIDConnect.clientSecret | string | `""` | OpenID Connect ClientSecret |
| ui.openIDConnect.groupClaim | string | `""` | Optional Group Claim to map user groups to the profile groups can be used to define access control for clusters, boards and custom boards. |
| ui.openIDConnect.scopes | list | `[]` | OpenID Connect allowed Scopes |
| ui.openIDConnect.secretRef | string | `""` | Provide OpenID Connect configuration via Secret supported keys: `discoveryUrl`, `clientId`, `clientSecret` |
| ui.oauth.enabled | bool | `false` | Enable openID Connect authentication |
Expand Down Expand Up @@ -411,6 +412,7 @@ Open `http://localhost:8082/` in your browser.
| plugin.kyverno.server.port | int | `8080` | Application port |
| plugin.kyverno.blockReports.enabled | bool | `false` | Enables he BlockReport feature |
| plugin.kyverno.blockReports.eventNamespace | string | `"default"` | Watches for Kyverno Events in the configured namespace leave blank to watch in all namespaces |
| plugin.kyverno.blockReports.source | string | `"Kyverno Event"` | Used value for the source field in the created (Cluster)PolicyReports |
| plugin.kyverno.blockReports.results.maxPerReport | int | `200` | Max items per PolicyReport resource |
| plugin.kyverno.blockReports.results.keepOnlyLatest | bool | `false` | Keep only the latest of duplicated events |
| plugin.kyverno.blockReports.policyReport.labels | list | `[]` | Labels for all created (Cluster)PolicyReports |
Expand Down
7 changes: 6 additions & 1 deletion charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ ui:
# -- (string) Image PullPolicy
pullPolicy: IfNotPresent
# -- (string) Image tag
tag: "2.0.0-rc.1"
tag: "2.0.0-rc.2"

# -- Deployment replica count
replicaCount: 1
Expand Down Expand Up @@ -857,6 +857,9 @@ ui:
clientId: ""
# -- OpenID Connect ClientSecret
clientSecret: ""
# -- Optional Group Claim to map user groups to the profile
# groups can be used to define access control for clusters, boards and custom boards.
groupClaim: ""
# -- OpenID Connect allowed Scopes
scopes: []
# -- Provide OpenID Connect configuration via Secret
Expand Down Expand Up @@ -1128,6 +1131,8 @@ plugin:
# -- Watches for Kyverno Events in the configured namespace
# leave blank to watch in all namespaces
eventNamespace: default
# -- Used value for the source field in the created (Cluster)PolicyReports
source: Kyverno Event
results:
# -- Max items per PolicyReport resource
maxPerReport: 200
Expand Down

0 comments on commit 2a2c854

Please sign in to comment.