Skip to content

Commit

Permalink
chore: disable cluster cache (#1806)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <[email protected]>
  • Loading branch information
chen-keinan committed Jan 29, 2024
1 parent 95d0dc1 commit 9815acd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Keeps security report resources updated
| operator.builtInTrivyServer | bool | `false` | builtInTrivyServer The flag enable the usage of built-in trivy server in cluster ,its also override the following trivy params with built-in values trivy.mode = ClientServer and serverURL = http://<serverServiceName>.<trivy operator namespace>:4975 |
| operator.cacheReportTTL | string | `"120h"` | cacheReportTTL the flag to set how long a cluster sbom report should exist. "" means that the cacheReportTTL feature is disabled |
| operator.clusterComplianceEnabled | bool | `true` | clusterComplianceEnabled the flag to enable cluster compliance scanner |
| operator.clusterSbomCacheEnabled | bool | `true` | the flag to enable cluster sbom cache generation |
| operator.clusterSbomCacheEnabled | bool | `false` | the flag to enable cluster sbom cache generation |
| operator.configAuditScannerEnabled | bool | `true` | configAuditScannerEnabled the flag to enable configuration audit scanner |
| operator.configAuditScannerScanOnlyCurrentRevisions | bool | `true` | configAuditScannerScanOnlyCurrentRevisions the flag to only create config audit scans on the current revision of a deployment. |
| operator.controllerCacheSyncTimeout | string | `"5m"` | controllerCacheSyncTimeout the duration to wait for controller resources cache sync (default: 5m). |
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ operator:
# -- the flag to enable sbom generation
sbomGenerationEnabled: true
# -- the flag to enable cluster sbom cache generation
clusterSbomCacheEnabled: true
clusterSbomCacheEnabled: false
# -- scannerReportTTL the flag to set how long a report should exist. "" means that the ScannerReportTTL feature is disabled
scannerReportTTL: "24h"
# -- cacheReportTTL the flag to set how long a cluster sbom report should exist. "" means that the cacheReportTTL feature is disabled
Expand Down
2 changes: 1 addition & 1 deletion deploy/static/trivy-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2901,7 +2901,7 @@ spec:
- name: OPERATOR_SBOM_GENERATION_ENABLED
value: "true"
- name: OPERATOR_CLUSTER_SBOM_CACHE_ENABLED
value: "true"
value: "false"
- name: OPERATOR_VULNERABILITY_SCANNER_SCAN_ONLY_CURRENT_REVISIONS
value: "true"
- name: OPERATOR_SCANNER_REPORT_TTL
Expand Down

0 comments on commit 9815acd

Please sign in to comment.