1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 10:28:36 +00:00

fix: use ephemeralreportsfor reports controller in helm (#11600)

Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
Mariam Fahmy 2024-11-18 10:41:59 +02:00 committed by GitHub
parent 5b08262197
commit 80ad66b34f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 9 deletions

View file

@ -34,9 +34,7 @@ annotations:
# valid kinds are: added, changed, deprecated, removed, fixed and security
artifacthub.io/changes: |
- kind: fixed
description: switch to post-delete helm hook to clean up Kyverno configmap
- kind: fixed
description: modify config.webhooks to be as a single object instead of a list of webhooks.
description: fix validation error in validate.yaml
dependencies:
- name: grafana
version: v0.0.0

View file

@ -7,14 +7,14 @@
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.wgpolicyk8s.clusterpolicyreports false) }}
{{- fail "CRD clusterpolicyreports disabled while reportsController enabled" }}
{{- end }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.wgpolicyk8s.clusterpolicyreports false) }}
{{- fail "CRD clusterpolicyreports disabled while reportsController enabled" }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.wgpolicyk8s.policyreports false) }}
{{- fail "CRD policyreports disabled while reportsController enabled" }}
{{- end }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.kyverno.backgroundscanreports false) }}
{{- fail "CRD backgroundscanreports disabled while reportsController enabled" }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.reports.ephemeralreports false) }}
{{- fail "CRD ephemeralreports disabled while reportsController enabled" }}
{{- end }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.kyverno.clusterbackgroundscanreports false) }}
{{- fail "CRD backgroundscanreports disabled while reportsController enabled" }}
{{- if and (eq .Values.reportsController.enabled true) (eq .Values.crds.groups.reports.clusterephemeralreports false) }}
{{- fail "CRD clusterephemeralreports disabled while reportsController enabled" }}
{{- end }}
{{- if hasKey .Values "mode" -}}