Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ appsInfo:
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.
policy-reporter:
title: policy-reporter
appVersion: 3.4.0
appVersion: 3.4.2
repo: https://github.com/kyverno/policy-reporter
maintainers: Frank Jogeleit
license: Apache 2.0
Expand Down
2 changes: 1 addition & 1 deletion chart/chart-index/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ dependencies:
version: 5.4.1
repository: https://vmware-tanzu.github.io/helm-charts/
- name: policy-reporter
version: 3.4.0
version: 3.4.2
repository: https://kyverno.github.io/policy-reporter
4 changes: 2 additions & 2 deletions charts/policy-reporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 3.4.0
appVersion: 3.4.2
description: 'Policy Reporter watches for PolicyReport Resources. It creates Prometheus
Metrics and can send rule validation events to different targets like Loki, Elasticsearch,
Slack or Discord '
Expand All @@ -12,4 +12,4 @@ name: policy-reporter
sources:
- https://github.com/kyverno/policy-reporter
type: application
version: 3.4.0
version: 3.4.2
3 changes: 2 additions & 1 deletion charts/policy-reporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Policy Reporter watches for PolicyReport Resources.
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord

![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)
![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)

## Documentation

Expand Down Expand Up @@ -426,6 +426,7 @@ Open `http://localhost:8082/` in your browser.
| 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: {} |
| ui.podAnnotations | object | `{}` | Additional annotations to add to each pod |
| ui.podLabels | object | `{}` | Additional labels to add to each pod |
| ui.selectorLabels | object | `{}` | Custom selector labels, overwrites the default set |
| ui.updateStrategy | object | `{}` | Deployment update strategy. Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy |
| ui.revisionHistoryLimit | int | `10` | The number of revisions to keep |
| ui.podSecurityContext | object | `{"runAsGroup":1234,"runAsUser":1234}` | Security context for the pod |
Expand Down
4 changes: 4 additions & 0 deletions charts/policy-reporter/templates/ui/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ helm.sh/chart: {{ include "ui.chart" . }}
Selector labels
*/}}
{{- define "ui.selectorLabels" -}}
{{- if .Values.ui.selectorLabels }}
{{- toYaml .Values.ui.selectorLabels }}
{{- else -}}
app.kubernetes.io/name: {{ include "ui.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{- end }}

{{/*
Create the name of the service account to use
Expand Down
4 changes: 2 additions & 2 deletions charts/policy-reporter/templates/ui/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ spec:
- protocol: TCP
port: {{ .Values.plugin.trivy.service.port }}
{{- end }}
{{- with .Values.networkPolicy.egress }}
{{- with .Values.ui.networkPolicy.egress }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,9 @@ ui:
# -- Additional labels to add to each pod
podLabels: {}

# -- Custom selector labels, overwrites the default set
selectorLabels: {}

# -- Deployment update strategy.
# Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
updateStrategy: {}
Expand Down