Skip to content

chore(chart-deps): update policy-reporter to version 3.9.1 - #3510

Draft
svcAPLBot wants to merge 2 commits into
mainfrom
ci-update-policy-reporter-to-3.9.1
Draft

chore(chart-deps): update policy-reporter to version 3.9.1#3510
svcAPLBot wants to merge 2 commits into
mainfrom
ci-update-policy-reporter-to-3.9.1

Conversation

@svcAPLBot

Copy link
Copy Markdown
Contributor

This PR updates the dependency policy-reporter to version 3.9.1.

@svcAPLBot svcAPLBot added the chart-deps Auto generated helm chart dependencies label Aug 7, 2026
Copilot AI lite review requested due to automatic review settings August 7, 2026 08:48
@svcAPLBot svcAPLBot added the chart-deps Auto generated helm chart dependencies label Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the policy-reporter Helm dependency to chart version 3.9.1, aligning our vendored chart values/templates with upstream changes (new config knobs, updated CRDs, and updated component image tags).

Changes:

  • Bumps the chart/dependency version to 3.9.1 (with chart appVersion set to 3.9.0 as reflected in the chart metadata/README).
  • Extends configuration to support Microsoft Graph API email reports and autoMemoryLimit (GOMEMLIMIT) settings.
  • Updates Gateway API HTTPRoute backendRefs, tightens ServiceMonitor rendering behind a new monitoring.serviceMonitor.enabled toggle, and refreshes UI/plugin image tags + CRD schemas.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
charts/policy-reporter/Chart.yaml Bumps chart metadata to version 3.9.1 and appVersion 3.9.0.
charts/dependencies.yaml Updates dependency pin for policy-reporter to 3.9.1.
charts/policy-reporter/values.yaml Adds graphAPI + autoMemoryLimit config, updates image tags, adjusts defaults, enables serviceMonitor toggle.
charts/policy-reporter/README.md Updates documented defaults/version badges to match the new chart.
charts/policy-reporter/configs/email-reports.tmpl Renders emailReports.graphAPI into generated config.
charts/policy-reporter/configs/core.tmpl Renders autoMemoryLimit into generated config.
charts/policy-reporter/templates/ui/ui.policyreporter.kyverno.io_customboards.yaml Updates CRD schema (filters/renderOptions/required fields) and metadata annotations handling.
charts/policy-reporter/templates/ui/ui.policyreporter.kyverno.io_namespacecustomboards.yaml Updates CRD schema and attempts to apply chart-level annotations (currently with a templating/YAML bug).
charts/policy-reporter/templates/httproute.yaml Makes backendRefs explicit with group/kind for Service.
charts/policy-reporter/templates/ui/httproute.yaml Makes backendRefs explicit with group/kind for Service (UI route).
charts/policy-reporter/templates/plugins/kyverno/httproute.yaml Makes backendRefs explicit with group/kind for Service (Kyverno plugin route).
charts/policy-reporter/templates/monitoring/servicemonitor.yaml Gates ServiceMonitor creation behind monitoring.serviceMonitor.enabled.
charts/policy-reporter/templates/cronjob-violations-report.yaml Always defines env: and injects POD_NAMESPACE.
charts/policy-reporter/templates/cronjob-summary-report.yaml Always defines env: and injects POD_NAMESPACE.
charts/policy-reporter/templates/clusterrole.yaml Grants get on apps/replicasets (to support updated report handling).

Comment on lines 5 to +9
annotations:
controller-gen.kubebuilder.io/version: v2.4.5-0.20250927090338-8022a0e22018+incompatible.dirty
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
@@ -1,4 +1,4 @@
{{- if and .Values.monitoring.enabled }}
{{- if and .Values.monitoring.enabled .Values.monitoring.serviceMonitor.enabled }}
Copilot AI review requested due to automatic review settings August 7, 2026 09:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 15 changed files in this pull request and generated no new comments.

Suppressed comments (1)

charts/policy-reporter/templates/ui/ui.policyreporter.kyverno.io_namespacecustomboards.yaml:9

  • metadata renders two annotations: keys (and an empty annotations: even when .Values.annotations is unset), which results in invalid YAML and can cause the CRD manifest to be rejected by the API server.
metadata:
  annotations:
  {{- if .Values.annotations }}
  annotations:
    {{- toYaml .Values.annotations | nindent 4 }}
  {{- end }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chart-deps Auto generated helm chart dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants