Skip to content

Instantly share code, notes, and snippets.

@adriantorrie
Created October 18, 2024 00:35
Show Gist options
  • Save adriantorrie/b2308d5141dad7ebc01a08c4279aba66 to your computer and use it in GitHub Desktop.
Save adriantorrie/b2308d5141dad7ebc01a08c4279aba66 to your computer and use it in GitHub Desktop.
Trviy Operator install options
# Enable compliance reports every hour
# - `serviceMonitor.enabled=true`
helm repo add aqua https://aquasecurity.github.io/helm-charts/
helm repo update
helm install aqua/trivy-operator \
--generate-name \
--create-namespace \
--namespace trivy-system \
--set="compliance.reportType=all" \
--set="compliance.cron=* 1 * * *" \
--set="operator.configAuditScannerEnabled=true" \
--set="operator.rbacAssessmentScannerEnabled=true" \
--set="operator.infraAssessmentScannerEnabled=true" \
--set="operator.exposedSecretScannerEnabled=true" \
--set="trivy.ignoreUnfixed=true" \
--version 0.22.0
# Grafana support
# - `serviceMonitor.enabled=true`
helm repo add aqua https://aquasecurity.github.io/helm-charts/
helm repo update
helm install aqua/trivy-operator \
--generate-name \
--create-namespace \
--namespace trivy-system \
--set="compliance.reportType=all" \
--set="compliance.cron=* 1 * * *" \
--set="operator.configAuditScannerEnabled=true" \
--set="operator.rbacAssessmentScannerEnabled=true" \
--set="operator.infraAssessmentScannerEnabled=true" \
--set="operator.exposedSecretScannerEnabled=true" \
--set="serviceMonitor.enabled=true" \
--set="trivy.ignoreUnfixed=true" \
--version 0.22.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment