Skip to content

Commit a8ecaae

Browse files
fix!(audit-scanner): remove store, add disableStore value
Signed-off-by: Fabrizio Sestito <[email protected]>
1 parent 87663ef commit a8ecaae

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

charts/kubewarden-controller/templates/_helpers.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ Create the name of the service account to use for kubewarden-controller
118118
- {{ .Release.Namespace }}
119119
- --loglevel
120120
- {{ .Values.auditScanner.logLevel }}
121-
- --store
122-
- {{ .Values.auditScanner.store }}
121+
- --disable-store
122+
- {{ .Values.auditScanner.disableStore }}
123123
- --extra-ca
124124
- "/pki/policy-server-root-ca-pem"
125125
{{- if .Values.auditScanner.outputScan }}

charts/kubewarden-controller/values.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,8 @@ auditScanner:
167167
logLevel: info
168168
# Output result of scan to stdout in JSON upon completion
169169
outputScan: false
170-
# Configures where a (Cluster)PolicyReport is stored.
171-
# Currently, it can be either:
172-
# - kubernetes: which will use Kubernetes/etcd
173-
# - memory: which will use in-memory cache. note that you may need to adjust
174-
# `resources.auditScanner` when using this store
175-
store: "kubernetes"
170+
# Configures whether a (Cluster)PolicyReport is stored in Kubernetes/etcd or not
171+
disableStore: false
176172
# Values to configure the policy reporter subchart enabled by the
177173
# auditScanner.policyReporter flag
178174
policy-reporter:

0 commit comments

Comments
 (0)