diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d35ae47..413977bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# 2.21.5 +* Helm Chart + * Add `annotations` UI values to UI deployment + # 2.21.4 * Helm Chart * Allow additional env variables to be added [[#378](https://github.com/kyverno/policy-reporter/pull/378) by [kbcbals](https://github.com/kbcbals)] diff --git a/charts/policy-reporter/Chart.lock b/charts/policy-reporter/Chart.lock index aa8ca355..c80bcc52 100644 --- a/charts/policy-reporter/Chart.lock +++ b/charts/policy-reporter/Chart.lock @@ -4,9 +4,9 @@ dependencies: version: 2.8.1 - name: ui repository: "" - version: 2.10.3 + version: 2.10.4 - name: kyvernoPlugin repository: "" version: 1.6.3 -digest: sha256:db84181131eaeee085f4fa5f228db16350d1a7b76535e0f07e4d0cb35a062125 -generated: "2023-12-10T14:32:52.114908+01:00" +digest: sha256:9f2a5618485b2c3ff7046c375dfdc322970801af41790121c337dd3a08215f8c +generated: "2023-12-15T10:57:09.476645+01:00" diff --git a/charts/policy-reporter/Chart.yaml b/charts/policy-reporter/Chart.yaml index c740be79..e2a256f8 100644 --- a/charts/policy-reporter/Chart.yaml +++ b/charts/policy-reporter/Chart.yaml @@ -21,7 +21,7 @@ dependencies: version: "2.8.1" - name: ui condition: ui.enabled - version: "2.10.3" + version: "2.10.4" - name: kyvernoPlugin condition: kyvernoPlugin.enabled version: "1.6.3" diff --git a/charts/policy-reporter/README.md b/charts/policy-reporter/README.md index 5e407d4d..3a85d226 100644 --- a/charts/policy-reporter/README.md +++ b/charts/policy-reporter/README.md @@ -1,6 +1,6 @@ # Policy Reporter -![Version: v2.21.3](https://img.shields.io/badge/Version-v2.21.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.17.4](https://img.shields.io/badge/AppVersion-v2.17.4-informational?style=flat-square) +![Version: v2.21.5](https://img.shields.io/badge/Version-v2.21.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.17.4](https://img.shields.io/badge/AppVersion-v2.17.4-informational?style=flat-square) ## Motivation diff --git a/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml b/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml index ce642f4e..d460cf84 100644 --- a/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml +++ b/charts/policy-reporter/charts/kyvernoPlugin/templates/deployment.yaml @@ -3,10 +3,10 @@ kind: Deployment metadata: name: {{ include "kyvernoplugin.fullname" . }} namespace: {{ include "kyvernoplugin.namespace" . }} + {{- if .Values.annotations }} annotations: - {{- if .Values.annotations }} - {{- toYaml .Values.annotations | nindent 4 }} - {{- end }} + {{- toYaml .Values.annotations | nindent 4 }} + {{- end }} labels: {{- include "kyvernoplugin.labels" . | nindent 4 }} spec: diff --git a/charts/policy-reporter/charts/ui/Chart.yaml b/charts/policy-reporter/charts/ui/Chart.yaml index 0c616f22..15cc8867 100644 --- a/charts/policy-reporter/charts/ui/Chart.yaml +++ b/charts/policy-reporter/charts/ui/Chart.yaml @@ -3,5 +3,5 @@ name: ui description: Policy Reporter UI type: application -version: 2.10.3 +version: 2.10.4 appVersion: 1.9.1 diff --git a/charts/policy-reporter/charts/ui/templates/deployment.yaml b/charts/policy-reporter/charts/ui/templates/deployment.yaml index f61126ba..013eff8a 100644 --- a/charts/policy-reporter/charts/ui/templates/deployment.yaml +++ b/charts/policy-reporter/charts/ui/templates/deployment.yaml @@ -5,6 +5,10 @@ metadata: namespace: {{ include "ui.namespace" . }} labels: {{- include "ui.labels" . | nindent 4 }} + {{- if .Values.annotations }} + annotations: + {{- toYaml .Values.annotations | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.replicaCount }} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}