82 lines
2.6 KiB
YAML
82 lines
2.6 KiB
YAML
# Default values for the trivy-operator Helm chart, these are used to render
|
|
# the templates into valid k8s Resources.
|
|
|
|
# -- managedBy is similar to .Release.Service but allows to overwrite the value
|
|
managedBy: argocd
|
|
|
|
operator:
|
|
# -- replicas the number of replicas of the operator's pod
|
|
replicas: 2
|
|
|
|
image:
|
|
registry: "harbor.avroid.tech/docker-hub-proxy"
|
|
repository: "aquasec/trivy-operator"
|
|
|
|
# -- Prometheus ServiceMonitor configuration -- to install the trivy operator with the ServiceMonitor
|
|
# you must have Prometheus already installed and running. If you do not have Prometheus installed, enabling this will
|
|
# have no effect.
|
|
serviceMonitor:
|
|
# -- enabled determines whether a serviceMonitor should be deployed
|
|
enabled: true
|
|
|
|
trivyOperator:
|
|
# -- scanJobNodeSelector nodeSelector to be applied to the scanner pods so that they can run on nodes with matching labels
|
|
scanJobNodeSelector:
|
|
node-role.kubernetes.io/worker: ""
|
|
|
|
trivy:
|
|
image:
|
|
# -- registry of the Trivy image
|
|
registry: harbor.avroid.tech/docker-hub-proxy
|
|
|
|
# -- mode is the Trivy client mode. Either Standalone or ClientServer. Depending
|
|
# on the active mode other settings might be applicable or required.
|
|
mode: ClientServer
|
|
|
|
# -- resources resource requests and limits for scan job containers
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 100M
|
|
# ephemeralStorage: "2Gi"
|
|
limits:
|
|
cpu: 500m
|
|
memory: 500M
|
|
# ephemeralStorage: "2Gi"
|
|
|
|
# -- serverURL is the endpoint URL of the Trivy server. Required in ClientServer mode.
|
|
#
|
|
serverURL: "http://trivy:4954"
|
|
|
|
# -- serverInsecure is the flag to enable insecure connection to the Trivy server.
|
|
serverInsecure: true
|
|
|
|
compliance:
|
|
cron: 0 */5 * * *
|
|
|
|
resources:
|
|
# -- We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 1Gi
|
|
|
|
# -- nodeSelector set the operator nodeSelector
|
|
nodeSelector:
|
|
node-role.kubernetes.io/worker: ""
|
|
|
|
policiesBundle:
|
|
# -- registry of the policies bundle
|
|
registry: harbor.avroid.tech/docker-hub-proxy
|
|
|
|
nodeCollector:
|
|
# -- registry of the node-collector image
|
|
registry: harbor.avroid.tech/ghcr-proxy
|
|
# -- useNodeSelector determine if to use nodeSelector (by auto detecting node name) with node-collector scan job
|
|
useNodeSelector: false
|