Skip to content

Commit d597d37

Browse files
svcAPLBotmerll
andauthored
chore(chart-deps): update policy-reporter to version 3.4.2 (#2479)
Co-authored-by: merll <[email protected]>
1 parent 189d630 commit d597d37

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

apps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ appsInfo:
360360
integration: When enabled, Velero can be used to automatically create backups of APL platform services. Based on the selected provider, APL installs required plug-ins. APL also installs the Restic integration for Velero to back up and restore almost any type of Kubernetes volume.
361361
policy-reporter:
362362
title: policy-reporter
363-
appVersion: 3.4.0
363+
appVersion: 3.4.2
364364
repo: https://github.com/kyverno/policy-reporter
365365
maintainers: Frank Jogeleit
366366
license: Apache 2.0

chart/chart-index/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,5 @@ dependencies:
115115
version: 5.4.1
116116
repository: https://vmware-tanzu.github.io/helm-charts/
117117
- name: policy-reporter
118-
version: 3.4.0
118+
version: 3.4.2
119119
repository: https://kyverno.github.io/policy-reporter

charts/policy-reporter/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: 3.4.0
2+
appVersion: 3.4.2
33
description: 'Policy Reporter watches for PolicyReport Resources. It creates Prometheus
44
Metrics and can send rule validation events to different targets like Loki, Elasticsearch,
55
Slack or Discord '
@@ -12,4 +12,4 @@ name: policy-reporter
1212
sources:
1313
- https://github.com/kyverno/policy-reporter
1414
type: application
15-
version: 3.4.0
15+
version: 3.4.2

charts/policy-reporter/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Policy Reporter watches for PolicyReport Resources.
44
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
55

6-
![Version: 3.4.0](https://img.shields.io/badge/Version-3.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.4.0](https://img.shields.io/badge/AppVersion-3.4.0-informational?style=flat-square)
6+
![Version: 3.4.2](https://img.shields.io/badge/Version-3.4.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.4.2](https://img.shields.io/badge/AppVersion-3.4.2-informational?style=flat-square)
77

88
## Documentation
99

@@ -426,6 +426,7 @@ Open `http://localhost:8082/` in your browser.
426426
| ui.sidecarContainers | object | `{}` | Add sidecar containers to the UI deployment sidecarContainers: oauth-proxy: image: quay.io/oauth2-proxy/oauth2-proxy:v7.6.0 args: - --upstream=http://127.0.0.1:8080 - --http-address=0.0.0.0:8081 - ... ports: - containerPort: 8081 name: oauth-proxy protocol: TCP resources: {} |
427427
| ui.podAnnotations | object | `{}` | Additional annotations to add to each pod |
428428
| ui.podLabels | object | `{}` | Additional labels to add to each pod |
429+
| ui.selectorLabels | object | `{}` | Custom selector labels, overwrites the default set |
429430
| ui.updateStrategy | object | `{}` | Deployment update strategy. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy |
430431
| ui.revisionHistoryLimit | int | `10` | The number of revisions to keep |
431432
| ui.podSecurityContext | object | `{"runAsGroup":1234,"runAsUser":1234}` | Security context for the pod |

charts/policy-reporter/templates/ui/_helpers.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ helm.sh/chart: {{ include "ui.chart" . }}
4242
Selector labels
4343
*/}}
4444
{{- define "ui.selectorLabels" -}}
45+
{{- if .Values.ui.selectorLabels }}
46+
{{- toYaml .Values.ui.selectorLabels }}
47+
{{- else -}}
4548
app.kubernetes.io/name: {{ include "ui.name" . }}
4649
app.kubernetes.io/instance: {{ .Release.Name }}
4750
{{- end }}
51+
{{- end }}
4852

4953
{{/*
5054
Create the name of the service account to use

charts/policy-reporter/templates/ui/networkpolicy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ spec:
4646
- protocol: TCP
4747
port: {{ .Values.plugin.trivy.service.port }}
4848
{{- end }}
49-
{{- with .Values.networkPolicy.egress }}
49+
{{- with .Values.ui.networkPolicy.egress }}
5050
{{- toYaml . | nindent 2 }}
5151
{{- end }}
5252
{{- end }}
53-
{{- end }}
53+
{{- end }}

charts/policy-reporter/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,9 @@ ui:
11361136
# -- Additional labels to add to each pod
11371137
podLabels: {}
11381138

1139+
# -- Custom selector labels, overwrites the default set
1140+
selectorLabels: {}
1141+
11391142
# -- Deployment update strategy.
11401143
# Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
11411144
updateStrategy: {}

0 commit comments

Comments
 (0)