mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
Update Policy Reporter UI
This commit is contained in:
parent
b003b44b8b
commit
8fe713a2af
7 changed files with 15 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,7 +7,7 @@ log:
|
|||
image:
|
||||
repository: fjogeleit/policy-reporter-ui
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 0.8.0
|
||||
tag: 0.9.0
|
||||
|
||||
imagePullSecrets: []
|
||||
|
||||
|
|
|
@ -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{}
|
||||
}
|
||||
|
||||
|
|
|
@ -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{}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue