1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

UI update to v1.0.1 (#93)

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
Frank Jogeleit 2021-12-17 13:24:59 +01:00 committed by GitHub
parent 8775715b8f
commit 571b07ea86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 8 deletions

View file

@ -1,5 +1,10 @@
# Changelog # Changelog
# 2.0.1
* Remove NetworkPolicy ingress rule for UI if not enabled
* Update Policy Reporter UI
* Fix: Show PolicyReportResult Properties in Tables
# 2.0.0 # 2.0.0
## Chart ## Chart

View file

@ -4,9 +4,9 @@ dependencies:
version: 2.0.0 version: 2.0.0
- name: ui - name: ui
repository: "" repository: ""
version: 2.0.0 version: 2.0.1
- name: kyvernoPlugin - name: kyvernoPlugin
repository: "" repository: ""
version: 1.0.0 version: 1.0.0
digest: sha256:7346779f27b9446f94271cb4b7233bac1b2549cf1205219b055bef926d2ea110 digest: sha256:d91a458143907a34e0fb4478ce1e43a1da553d34a4e83f96d203f21eb4d5f493
generated: "2021-12-13T15:40:00.73344+01:00" generated: "2021-12-17T13:18:52.621629+01: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 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.0.0 version: 2.0.1
appVersion: 2.0.0 appVersion: 2.0.0
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
@ -21,7 +21,7 @@ dependencies:
version: "2.0.0" version: "2.0.0"
- name: ui - name: ui
condition: ui.enabled condition: ui.enabled
version: "2.0.0" version: "2.0.1"
- name: kyvernoPlugin - name: kyvernoPlugin
condition: kyvernoPlugin.enabled condition: kyvernoPlugin.enabled
version: "1.0.0" version: "1.0.0"

View file

@ -3,5 +3,5 @@ name: ui
description: Policy Reporter UI description: Policy Reporter UI
type: application type: application
version: 2.0.0 version: 2.0.1
appVersion: 1.0.0 appVersion: 1.0.1

View file

@ -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.0.0 tag: 1.0.1
imagePullSecrets: [] imagePullSecrets: []

View file

@ -11,12 +11,14 @@ spec:
- Ingress - Ingress
- Egress - Egress
ingress: ingress:
{{- if .Values.ui.enabled }}
- from: - from:
- podSelector: - podSelector:
matchLabels: {{- include "ui.selectorLabels" . | nindent 10 }} matchLabels: {{- include "ui.selectorLabels" . | nindent 10 }}
ports: ports:
- protocol: TCP - protocol: TCP
port: 8080 port: 8080
{{- end }}
{{- with .Values.networkPolicy.ingress }} {{- with .Values.networkPolicy.ingress }}
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}