1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-15 17:50:58 +00:00

Merge pull request #159 from kyverno/fix-type-conversion

Fix type conversion for int value
This commit is contained in:
Frank Jogeleit 2022-06-21 13:53:21 +02:00 committed by GitHub
commit 45b37a0a3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 9 deletions

View file

@ -1,5 +1,9 @@
# Changelog
# 2.9.3
* Policy Reporter
* Fix `grafana.dashboards.value` type conversion [[fix #158](https://github.com/kyverno/policy-reporter/issues/158)]
# 2.9.2
* Policy Reporter
* Add `grafana.dashboards.value` value to configure the ConfigMap label value for the Prometheus Operator by [[#157](https://github.com/kyverno/policy-reporter/pull/157) by [stone-z](https://github.com/stone-z)]

View file

@ -1,12 +1,12 @@
dependencies:
- name: monitoring
repository: ""
version: 2.3.1
version: 2.3.2
- name: ui
repository: ""
version: 2.4.2
- name: kyvernoPlugin
repository: ""
version: 1.3.1
digest: sha256:2fcff214e5178f7c4cb22d0dce27b33a022bf9be46eeea22a4a81f0b2e4f1a4f
generated: "2022-06-17T10:58:52.909430821-04:00"
digest: sha256:b0ef0c8d04a917c42b82b6e50646a57384051764c980426a4039ff85e64f99c4
generated: "2022-06-21T13:27:26.704316+02:00"

View file

@ -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: 2.9.2
version: 2.9.3
appVersion: 2.6.1
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
@ -18,7 +18,7 @@ maintainers:
dependencies:
- name: monitoring
condition: monitoring.enabled
version: "2.3.1"
version: "2.3.2"
- name: ui
condition: ui.enabled
version: "2.4.2"

View file

@ -3,5 +3,5 @@ name: monitoring
description: Policy Reporter Monitoring with predefined ServiceMonitor and Grafana Dashboards
type: application
version: 2.3.1
version: 2.3.2
appVersion: 0.0.0

View file

@ -10,7 +10,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value }}
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value | quote }}
{{- include "monitoring.labels" . | nindent 4 }}
data:
cluster-policy-reporter-details-dashboard.json: |

View file

@ -10,7 +10,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value }}
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value | quote }}
{{- with .Values.serviceMonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}

View file

@ -10,7 +10,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value }}
{{ .Values.grafana.dashboards.label }}: {{ .Values.grafana.dashboards.value | quote }}
{{- with .Values.serviceMonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}