diff --git a/charts/lagoon-core/templates/insights-trivy.deployment.yaml b/charts/lagoon-core/templates/insights-trivy.deployment.yaml index 505d91a2..1c4f580a 100644 --- a/charts/lagoon-core/templates/insights-trivy.deployment.yaml +++ b/charts/lagoon-core/templates/insights-trivy.deployment.yaml @@ -28,6 +28,7 @@ spec: imagePullPolicy: {{ .Values.insightsTrivy.image.pullPolicy }} resources: {{- toYaml .Values.insightsTrivy.resources | nindent 10 }} + command: ["trivy", "server", "--cache-dir=/tmp", "--listen=0.0.0.0:4954", "-d"] ports: - containerPort: 4954 protocol: TCP diff --git a/charts/lagoon-core/values.yaml b/charts/lagoon-core/values.yaml index 22c217ca..536d7d4e 100644 --- a/charts/lagoon-core/values.yaml +++ b/charts/lagoon-core/values.yaml @@ -618,6 +618,9 @@ insightsHandler: # targetMemoryUtilizationPercentage: 80 insightsTrivy: + image: + repository: aquasec/trivy + tag: latest enabled: false service: type: ClusterIP