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

make sqlite volume configurable

Signed-off-by: André Bauer <andre.bauer@staffbase.com>
This commit is contained in:
André Bauer 2023-02-03 10:51:09 +01:00
parent 6f0dcc5b68
commit ace6e378ca
3 changed files with 10 additions and 1 deletions

View file

@ -5,7 +5,7 @@ description: |
It creates Prometheus Metrics and can send rule validation events to different targets like Loki, Elasticsearch, Slack or Discord
type: application
version: 2.16.0
version: 2.17.0
appVersion: 2.12.0
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png

View file

@ -100,7 +100,11 @@ spec:
{{- end }}
volumes:
- name: sqlite
{{- if .Values.sqliteVolume }}
{{- toYaml .Values.sqliteVolume | nindent 8 }}
{{- else }}
emptyDir: {}
{{- end }}
- name: config-file
secret:
{{- if and .Values.existingTargetConfig.enabled .Values.existingTargetConfig.name }}

View file

@ -530,3 +530,8 @@ extraVolumes:
volumeMounts: []
volumes: []
# If set the volume for sqlite is freely configurable below "- name: sqlite". If no value is set an emptyDir is used.
sqliteVolume: {}
# emptyDir:
# sizeLimit: 10Mi