Skip to content

Commit

Permalink
add annotations from UI values to UI deployment (#381)
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
  • Loading branch information
fjogeleit committed Dec 15, 2023
1 parent bf5decc commit 096f399
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
6 changes: 3 additions & 3 deletions charts/policy-reporter/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion charts/policy-reporter/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/policy-reporter/charts/ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: ui
description: Policy Reporter UI

type: application
version: 2.10.3
version: 2.10.4
appVersion: 1.9.1
4 changes: 4 additions & 0 deletions charts/policy-reporter/charts/ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 096f399

Please sign in to comment.