mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
Merge pull request #125 from kyverno/monitoring-updates
Update Monitoring and UI Charts
This commit is contained in:
commit
d80b8e1bff
7 changed files with 143 additions and 44 deletions
|
@ -1,5 +1,12 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# 2.6.1
|
||||||
|
* Update Policy Reporter UI to v1.3.2
|
||||||
|
* Support access over Subpaths, e.g. Rancher Reverse Proxy
|
||||||
|
* Update Policy Reporter Monitoring to v2.1.0
|
||||||
|
* Fix Failing ClusterPolicyRules Columns of the PolicyReports Dashboard
|
||||||
|
* Add Filter to the PolicyReports Dashboard
|
||||||
|
|
||||||
# 2.6.0
|
# 2.6.0
|
||||||
* Add seccomp profile support [[#120](https://github.com/kyverno/policy-reporter/pull/120) by [eddycharly](https://github.com/eddycharly)]
|
* Add seccomp profile support [[#120](https://github.com/kyverno/policy-reporter/pull/120) by [eddycharly](https://github.com/eddycharly)]
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: monitoring
|
- name: monitoring
|
||||||
repository: ""
|
repository: ""
|
||||||
version: 2.0.1
|
version: 2.1.0
|
||||||
- name: ui
|
- name: ui
|
||||||
repository: ""
|
repository: ""
|
||||||
version: 2.3.1
|
version: 2.3.2
|
||||||
- name: kyvernoPlugin
|
- name: kyvernoPlugin
|
||||||
repository: ""
|
repository: ""
|
||||||
version: 1.2.0
|
version: 1.2.0
|
||||||
digest: sha256:4faed9ebd9668dd0cffd783e8ed94c832a356933a8afb1f687d1acfd8c8e5731
|
digest: sha256:bb751835db85334bd7b379680227a488c80769646f916a1367e207e7909d557a
|
||||||
generated: "2022-02-27T16:53:48.829393+01:00"
|
generated: "2022-03-10T12:33:30.918735+01:00"
|
||||||
|
|
|
@ -5,7 +5,7 @@ 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: 2.6.0
|
version: 2.6.1
|
||||||
appVersion: 2.3.0
|
appVersion: 2.3.0
|
||||||
|
|
||||||
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
|
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
|
||||||
|
@ -18,10 +18,10 @@ maintainers:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: monitoring
|
- name: monitoring
|
||||||
condition: monitoring.enabled
|
condition: monitoring.enabled
|
||||||
version: "2.0.1"
|
version: "2.1.0"
|
||||||
- name: ui
|
- name: ui
|
||||||
condition: ui.enabled
|
condition: ui.enabled
|
||||||
version: "2.3.1"
|
version: "2.3.2"
|
||||||
- name: kyvernoPlugin
|
- name: kyvernoPlugin
|
||||||
condition: kyvernoPlugin.enabled
|
condition: kyvernoPlugin.enabled
|
||||||
version: "1.2.0"
|
version: "1.2.0"
|
||||||
|
|
|
@ -3,5 +3,5 @@ name: monitoring
|
||||||
description: Policy Reporter Monitoring with predefined ServiceMonitor and Grafana Dashboards
|
description: Policy Reporter Monitoring with predefined ServiceMonitor and Grafana Dashboards
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.1
|
version: 2.1.0
|
||||||
appVersion: 0.0.0
|
appVersion: 0.0.0
|
||||||
|
|
|
@ -108,7 +108,7 @@ data:
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(policy_report_summary{status=\"Fail\"} > 0) by (exported_namespace)",
|
"expr": "sum(policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", exported_namespace=~\"$namespace\", status=~\"fail|error\"} > 0) by (exported_namespace)",
|
||||||
"instant": true,
|
"instant": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{`{{ exported_namespace }}`}}",
|
"legendFormat": "{{`{{ exported_namespace }}`}}",
|
||||||
|
@ -169,7 +169,7 @@ data:
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(cluster_policy_report_summary{status=~\"Fail|Error\"} > 0) by (status)",
|
"expr": "sum(cluster_policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", status=~\"fail|error\"} > 0) by (status)",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"intervalFactor": 1,
|
"intervalFactor": 1,
|
||||||
|
@ -231,13 +231,13 @@ data:
|
||||||
"steppedLine": false,
|
"steppedLine": false,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(cluster_policy_report_result{status=~\"fail|error\"} > 0) by (policy)",
|
"expr": "sum(cluster_policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", status=~\"fail|error\"} > 0) by (policy)",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{`{{ policy }}`}}",
|
"legendFormat": "{{`{{ policy }}`}}",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "sum(policy_report_result{status=~\"fail|error\"} > 0) by (policy)",
|
"expr": "sum(policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", exported_namespace=~\"$namespace\", status=~\"fail|error\"} > 0) by (policy)",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{`{{ policy }}`}}",
|
"legendFormat": "{{`{{ policy }}`}}",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
|
@ -322,7 +322,7 @@ data:
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "sum(policy_report_result{status=~\"fail|error\"}) by (exported_namespace,policy,rule,kind,name,status)",
|
"expr": "sum(policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", exported_namespace=~\"$namespace\", status=~\"fail|error\"}) by (exported_namespace,policy,rule,kind,name,status,category,severity)",
|
||||||
"format": "table",
|
"format": "table",
|
||||||
"instant": true,
|
"instant": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
|
@ -342,13 +342,13 @@ data:
|
||||||
"Value": true
|
"Value": true
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
"category": 0,
|
||||||
"Value": 6,
|
"severity": 1,
|
||||||
"exported_namespace": 1,
|
"exported_namespace": 2,
|
||||||
"kind": 2,
|
"kind": 3,
|
||||||
"name": 3,
|
"name": 4,
|
||||||
"policy": 4,
|
"policy": 5,
|
||||||
"rule": 5,
|
"rule": 6,
|
||||||
"status": 7
|
"status": 7
|
||||||
},
|
},
|
||||||
"renameByName": {
|
"renameByName": {
|
||||||
|
@ -396,7 +396,7 @@ data:
|
||||||
"pluginVersion": "7.1.5",
|
"pluginVersion": "7.1.5",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "cluster_policy_report_result > 0",
|
"expr": "sum(cluster_policy_report_result{policy=~\"$policy\", category=~\"$category\", severity=~\"$severity\", kind=~\"$kind\", status=~\"fail|error\"}) by (policy,rule,kind,name,status,category,severity)",
|
||||||
"format": "table",
|
"format": "table",
|
||||||
"instant": true,
|
"instant": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
|
@ -421,28 +421,19 @@ data:
|
||||||
"namespace": true,
|
"namespace": true,
|
||||||
"pod": true,
|
"pod": true,
|
||||||
"report": true,
|
"report": true,
|
||||||
"service": true
|
"service": true,
|
||||||
|
"container": true
|
||||||
},
|
},
|
||||||
"indexByName": {
|
"indexByName": {
|
||||||
"Time": 0,
|
"category": 0,
|
||||||
"Value": 14,
|
"severity": 1,
|
||||||
"__name__": 1,
|
"kind": 2,
|
||||||
"endpoint": 2,
|
"name": 3,
|
||||||
"instance": 3,
|
"policy": 4,
|
||||||
"job": 4,
|
"rule": 5,
|
||||||
"kind": 9,
|
"status": 6
|
||||||
"name": 10,
|
|
||||||
"namespace": 5,
|
|
||||||
"pod": 6,
|
|
||||||
"policy": 11,
|
|
||||||
"report": 7,
|
|
||||||
"rule": 12,
|
|
||||||
"service": 8,
|
|
||||||
"status": 13
|
|
||||||
},
|
},
|
||||||
"renameByName": {
|
"renameByName": {}
|
||||||
"__name__": ""
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -455,7 +446,108 @@ data:
|
||||||
"Policy Reporter"
|
"Policy Reporter"
|
||||||
],
|
],
|
||||||
"templating": {
|
"templating": {
|
||||||
"list": []
|
"list": [
|
||||||
|
{
|
||||||
|
"allValue": ".*",
|
||||||
|
"definition": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, policy)",
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Policy",
|
||||||
|
"multi": true,
|
||||||
|
"name": "policy",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, policy)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 5,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": ".*",
|
||||||
|
"definition": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, category)",
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Category",
|
||||||
|
"multi": true,
|
||||||
|
"name": "category",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, category)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 5,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": ".*",
|
||||||
|
"definition": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, severity)",
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Severity",
|
||||||
|
"multi": true,
|
||||||
|
"name": "severity",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, severity)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 5,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": ".*",
|
||||||
|
"definition": "label_values(policy_report_result, exported_namespace)",
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Namespace",
|
||||||
|
"multi": true,
|
||||||
|
"name": "namespace",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values(policy_report_result, exported_namespace)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 5,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"allValue": ".*",
|
||||||
|
"definition": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, kind)",
|
||||||
|
"hide": 0,
|
||||||
|
"includeAll": true,
|
||||||
|
"label": "Kind",
|
||||||
|
"multi": true,
|
||||||
|
"name": "kind",
|
||||||
|
"options": [],
|
||||||
|
"query": "label_values({__name__=~ \"policy_report_result|cluster_policy_report_result\"}, kind)",
|
||||||
|
"refresh": 2,
|
||||||
|
"regex": "",
|
||||||
|
"skipUrlSync": false,
|
||||||
|
"sort": 5,
|
||||||
|
"tagValuesQuery": "",
|
||||||
|
"tags": [],
|
||||||
|
"tagsQuery": "",
|
||||||
|
"type": "query",
|
||||||
|
"useTags": false
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"from": "now-30m",
|
"from": "now-30m",
|
||||||
|
|
|
@ -3,5 +3,5 @@ name: ui
|
||||||
description: Policy Reporter UI
|
description: Policy Reporter UI
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 2.3.1
|
version: 2.3.2
|
||||||
appVersion: 1.3.1
|
appVersion: 1.3.2
|
||||||
|
|
|
@ -14,7 +14,7 @@ image:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
repository: kyverno/policy-reporter-ui
|
repository: kyverno/policy-reporter-ui
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 1.3.1
|
tag: 1.3.2
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue