From 8fe713a2afbf87666df8427467b4561609363e0b Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Thu, 29 Apr 2021 11:46:14 +0200 Subject: [PATCH] Update Policy Reporter UI --- CHANGELOG.md | 6 ++++++ charts/policy-reporter/Chart.lock | 6 +++--- charts/policy-reporter/Chart.yaml | 6 +++--- charts/policy-reporter/charts/ui/Chart.yaml | 4 ++-- charts/policy-reporter/charts/ui/values.yaml | 2 +- pkg/kubernetes/cluster_policy_report_client.go | 2 -- pkg/kubernetes/policy_report_client.go | 2 -- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3887cf48..85353e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.3.3 + +* Update Policy Reporter UI to v0.9.0 + * expand Tables with Validation Message +* Reduce log messages + ## 1.3.2 * Compress REST API with GZIP diff --git a/charts/policy-reporter/Chart.lock b/charts/policy-reporter/Chart.lock index 9555648b..c1461cae 100644 --- a/charts/policy-reporter/Chart.lock +++ b/charts/policy-reporter/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 1.1.0 - name: ui repository: "" - version: 1.2.0 -digest: sha256:830488c5f8aa663dbd956542997a90bff7a4e157ce3df2be3628ca6bfb8352ed -generated: "2021-04-25T12:07:33.278698+02:00" + version: 1.3.0 +digest: sha256:2e8942d0223c917557d3c6352a61baba02c15f26b1cad276c34c6609111b3682 +generated: "2021-04-29T11:45:31.55116+02:00" diff --git a/charts/policy-reporter/Chart.yaml b/charts/policy-reporter/Chart.yaml index b2527b11..8d4a2968 100644 --- a/charts/policy-reporter/Chart.yaml +++ b/charts/policy-reporter/Chart.yaml @@ -5,8 +5,8 @@ description: | It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord type: application -version: 1.3.2 -appVersion: 1.3.2 +version: 1.3.3 +appVersion: 1.3.3 dependencies: - name: monitoring @@ -16,4 +16,4 @@ dependencies: - name: ui condition: ui.enabled repository: "" - version: "1.2.0" + version: "1.3.0" diff --git a/charts/policy-reporter/charts/ui/Chart.yaml b/charts/policy-reporter/charts/ui/Chart.yaml index 2e7cad5d..fbb72925 100644 --- a/charts/policy-reporter/charts/ui/Chart.yaml +++ b/charts/policy-reporter/charts/ui/Chart.yaml @@ -3,5 +3,5 @@ name: ui description: Policy Reporter UI type: application -version: 1.2.0 -appVersion: 0.8.0 +version: 1.3.0 +appVersion: 0.9.0 diff --git a/charts/policy-reporter/charts/ui/values.yaml b/charts/policy-reporter/charts/ui/values.yaml index 74dea3bc..ac44db68 100644 --- a/charts/policy-reporter/charts/ui/values.yaml +++ b/charts/policy-reporter/charts/ui/values.yaml @@ -7,7 +7,7 @@ log: image: repository: fjogeleit/policy-reporter-ui pullPolicy: IfNotPresent - tag: 0.8.0 + tag: 0.9.0 imagePullSecrets: [] diff --git a/pkg/kubernetes/cluster_policy_report_client.go b/pkg/kubernetes/cluster_policy_report_client.go index 7bf32eb7..cc18c0f4 100644 --- a/pkg/kubernetes/cluster_policy_report_client.go +++ b/pkg/kubernetes/cluster_policy_report_client.go @@ -165,10 +165,8 @@ func (c *clusterPolicyReportClient) StartWatching() error { } func (c *clusterPolicyReportClient) executeClusterPolicyReportHandler(e watch.EventType, cpr report.ClusterPolicyReport) { - log.Printf("[INFO] New Event %s for %s", e, cpr.Name) opr, ok := c.store.Get(cpr.GetIdentifier()) if !ok { - log.Printf("[INFO] No previous Report for %s found", cpr.Name) opr = report.ClusterPolicyReport{} } diff --git a/pkg/kubernetes/policy_report_client.go b/pkg/kubernetes/policy_report_client.go index b37249ca..eba9248f 100644 --- a/pkg/kubernetes/policy_report_client.go +++ b/pkg/kubernetes/policy_report_client.go @@ -165,10 +165,8 @@ func (c *policyReportClient) StartWatching() error { } func (c *policyReportClient) executePolicyReportHandler(e watch.EventType, pr report.PolicyReport) { - log.Printf("[INFO] New Event %s for %s", e, pr.Name) opr, ok := c.store.Get(pr.GetIdentifier()) if !ok { - log.Printf("[INFO] No previous Report for %s found", pr.Name) opr = report.PolicyReport{} }