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
|
# Changelog
|
||||||
|
|
||||||
|
## 1.3.3
|
||||||
|
|
||||||
|
* Update Policy Reporter UI to v0.9.0
|
||||||
|
* expand Tables with Validation Message
|
||||||
|
* Reduce log messages
|
||||||
|
|
||||||
## 1.3.2
|
## 1.3.2
|
||||||
|
|
||||||
* Compress REST API with GZIP
|
* Compress REST API with GZIP
|
||||||
|
|
|
@ -4,6 +4,6 @@ dependencies:
|
||||||
version: 1.1.0
|
version: 1.1.0
|
||||||
- name: ui
|
- name: ui
|
||||||
repository: ""
|
repository: ""
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
digest: sha256:830488c5f8aa663dbd956542997a90bff7a4e157ce3df2be3628ca6bfb8352ed
|
digest: sha256:2e8942d0223c917557d3c6352a61baba02c15f26b1cad276c34c6609111b3682
|
||||||
generated: "2021-04-25T12:07:33.278698+02:00"
|
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
|
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 1.3.2
|
version: 1.3.3
|
||||||
appVersion: 1.3.2
|
appVersion: 1.3.3
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: monitoring
|
- name: monitoring
|
||||||
|
@ -16,4 +16,4 @@ dependencies:
|
||||||
- name: ui
|
- name: ui
|
||||||
condition: ui.enabled
|
condition: ui.enabled
|
||||||
repository: ""
|
repository: ""
|
||||||
version: "1.2.0"
|
version: "1.3.0"
|
||||||
|
|
|
@ -3,5 +3,5 @@ name: ui
|
||||||
description: Policy Reporter UI
|
description: Policy Reporter UI
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 1.2.0
|
version: 1.3.0
|
||||||
appVersion: 0.8.0
|
appVersion: 0.9.0
|
||||||
|
|
|
@ -7,7 +7,7 @@ log:
|
||||||
image:
|
image:
|
||||||
repository: fjogeleit/policy-reporter-ui
|
repository: fjogeleit/policy-reporter-ui
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 0.8.0
|
tag: 0.9.0
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
|
|
|
@ -165,10 +165,8 @@ func (c *clusterPolicyReportClient) StartWatching() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *clusterPolicyReportClient) executeClusterPolicyReportHandler(e watch.EventType, cpr report.ClusterPolicyReport) {
|
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())
|
opr, ok := c.store.Get(cpr.GetIdentifier())
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("[INFO] No previous Report for %s found", cpr.Name)
|
|
||||||
opr = report.ClusterPolicyReport{}
|
opr = report.ClusterPolicyReport{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -165,10 +165,8 @@ func (c *policyReportClient) StartWatching() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *policyReportClient) executePolicyReportHandler(e watch.EventType, pr report.PolicyReport) {
|
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())
|
opr, ok := c.store.Get(pr.GetIdentifier())
|
||||||
if !ok {
|
if !ok {
|
||||||
log.Printf("[INFO] No previous Report for %s found", pr.Name)
|
|
||||||
opr = report.PolicyReport{}
|
opr = report.PolicyReport{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue