1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00

Add disableClusterReports configuration to values.yaml

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
Frank Jogeleit 2022-07-04 13:28:08 +02:00
parent fb4b88411c
commit 8a587c0b52
3 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,7 @@ emailReports:
to:
{{- toYaml . | nindent 6 }}
{{- end }}
disableClusterReports: {{ .Values.emailReports.violations.disableClusterReports }}
{{- with .Values.emailReports.summary.filter }}
filter:
{{- toYaml . | nindent 6 }}
@ -24,6 +25,7 @@ emailReports:
to:
{{- toYaml . | nindent 6 }}
{{- end }}
disableClusterReports: {{ .Values.emailReports.violations.disableClusterReports }}
{{- with .Values.emailReports.violations.filter }}
filter:
{{- toYaml . | nindent 6 }}

View file

@ -174,6 +174,7 @@ emailReports:
restartPolicy: Never # pod restart policy
to: [] # list of receiver e-mail addresses
disableClusterReports: false # remove ClusterPolicyResults from Reports
filter: {} # optional filters
# namespaces:
# include: []
@ -191,6 +192,7 @@ emailReports:
restartPolicy: Never # pod restart policy
to: [] # list of receiver e-mail addresses
disableClusterReports: false # remove ClusterPolicyResults from Reports
filter: {} # optional filters
# namespaces:
# include: []

View file

@ -164,6 +164,7 @@ emailReports:
encryption: '' # default is none, supports ssl/tls and starttls
violations:
to: []
disableClusterReports: false # remove ClusterPolicyResults from Reports
filter:
namespaces:
include: []