From 2a2c854ae7fae3d2fbed66625426ef666ab9fd79 Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Tue, 15 Oct 2024 13:21:53 +0200 Subject: [PATCH] Bump Policy Reporter UI (#510) Signed-off-by: Frank Jogeleit --- charts/policy-reporter/Chart.yaml | 2 +- charts/policy-reporter/README.md | 6 ++++-- charts/policy-reporter/values.yaml | 7 ++++++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/charts/policy-reporter/Chart.yaml b/charts/policy-reporter/Chart.yaml index de0d8002..f69d7a1b 100644 --- a/charts/policy-reporter/Chart.yaml +++ b/charts/policy-reporter/Chart.yaml @@ -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 diff --git a/charts/policy-reporter/README.md b/charts/policy-reporter/README.md index dec36919..7b5d24af 100644 --- a/charts/policy-reporter/README.md +++ b/charts/policy-reporter/README.md @@ -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 @@ -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 | @@ -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 | @@ -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 | diff --git a/charts/policy-reporter/values.yaml b/charts/policy-reporter/values.yaml index e6d6d76a..0d23e180 100644 --- a/charts/policy-reporter/values.yaml +++ b/charts/policy-reporter/values.yaml @@ -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 @@ -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 @@ -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