mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
update helm chart
Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
parent
7624c43147
commit
ad33397a3e
4 changed files with 24 additions and 4 deletions
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -1,5 +1,16 @@
|
|||
# Changelog
|
||||
|
||||
# 2.18.0
|
||||
* Policy Reporter
|
||||
* Improved logging configuration
|
||||
* Support JSON logging
|
||||
* Support log level
|
||||
* optional API access logging with `api.logging` set to `true`
|
||||
* New aggregation table for API performance improvements
|
||||
* Helm Ingress template
|
||||
* Policy Reporter KyvernoPlugin
|
||||
* Helm Ingress template
|
||||
|
||||
# 2.17.0
|
||||
* Policy Reporter
|
||||
* Use metaclient to reduce informer memory usage
|
||||
|
|
|
@ -251,10 +251,10 @@ redis:
|
|||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
|
||||
{{- with .Values.logging }}
|
||||
logging:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
encoding: {{ .Values.logging.encoding }}
|
||||
logLevel: {{ include "policyreporter.logLevel" . }}
|
||||
development: {{ .Values.logging.development }}
|
||||
|
||||
api:
|
||||
logging: {{ .Values.api.logging }}
|
||||
|
|
|
@ -113,3 +113,12 @@ maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
|
|||
{{- .Release.Namespace -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Get the namespace name. */}}
|
||||
{{- define "policyreporter.logLevel" -}}
|
||||
{{- if .Values.api.logging -}}
|
||||
-1
|
||||
{{- else -}}
|
||||
{{- .Values.logging.logLevel -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
@ -121,7 +121,7 @@ logging:
|
|||
development: false # more human readable structure, enables stacktraces and removes log sampling
|
||||
|
||||
api:
|
||||
logging: false # enable API access logging
|
||||
logging: false # enable debug API access logging, sets logLevel to debug
|
||||
|
||||
# REST API
|
||||
rest:
|
||||
|
|
Loading…
Reference in a new issue