Skip to content

Commit

Permalink
apps: helm/trivy-operator 0.26.0
Browse files Browse the repository at this point in the history
The helm chart defaults to trivy-operator version v0.24.0
  • Loading branch information
OlleLarsson committed Feb 21, 2025
1 parent 02b1f46 commit baea4c2
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 29 deletions.
4 changes: 2 additions & 2 deletions helmfile.d/upstream/aquasecurity/trivy-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.23.0
appVersion: 0.24.0
description: Keeps security report resources updated
keywords:
- aquasecurity
Expand All @@ -9,4 +9,4 @@ name: trivy-operator
sources:
- https://github.com/aquasecurity/trivy-operator
type: application
version: 0.25.0
version: 0.26.0
5 changes: 3 additions & 2 deletions helmfile.d/upstream/aquasecurity/trivy-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trivy-operator

![Version: 0.25.0](https://img.shields.io/badge/Version-0.25.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.0](https://img.shields.io/badge/AppVersion-0.23.0-informational?style=flat-square)
![Version: 0.26.0](https://img.shields.io/badge/Version-0.26.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.24.0](https://img.shields.io/badge/AppVersion-0.24.0-informational?style=flat-square)

Keeps security report resources updated

Expand All @@ -19,6 +19,7 @@ Keeps security report resources updated
| compliance.reportType | string | `"summary"` | reportType this flag control the type of report generated (summary or all) |
| compliance.specs | list | `["k8s-cis-1.23","k8s-nsa-1.0","k8s-pss-baseline-0.1","k8s-pss-restricted-0.1"]` | specs is a list of compliance specs to be used by the cluster compliance scanner - k8s-cis-1.23 - k8s-nsa-1.0 - k8s-pss-baseline-0.1 - k8s-pss-restricted-0.1 - eks-cis-1.4 - rke2-cis-1.24 |
| excludeNamespaces | string | `""` | excludeNamespaces is a comma separated list of namespaces (or glob patterns) to be excluded from scanning. Only applicable in the all namespaces install mode, i.e. when the targetNamespaces values is a blank string. |
| extraEnv | list | `[]` | extraEnv is a list of extra environment variables for the trivy-operator. |
| fullnameOverride | string | `""` | fullnameOverride override operator full name |
| global | object | `{"image":{"registry":""}}` | global values provide a centralized configuration for 'image.registry', reducing the potential for errors. If left blank, the chart will default to the individually set 'image.registry' values |
| image.pullPolicy | string | `"IfNotPresent"` | pullPolicy set the operator pullPolicy |
Expand Down Expand Up @@ -145,7 +146,7 @@ Keeps security report resources updated
| trivy.image.pullPolicy | string | `"IfNotPresent"` | pullPolicy is the imge pull policy used for trivy image , valid values are (Always, Never, IfNotPresent) |
| trivy.image.registry | string | `"mirror.gcr.io"` | registry of the Trivy image |
| trivy.image.repository | string | `"aquasec/trivy"` | repository of the Trivy image |
| trivy.image.tag | string | `"0.57.1"` | tag version of the Trivy image |
| trivy.image.tag | string | `"0.59.1"` | tag version of the Trivy image |
| trivy.imageScanCacheDir | string | `"/tmp/trivy/.cache"` | imageScanCacheDir the flag to set custom path for trivy image scan `cache-dir` parameter. Only applicable in image scan mode. |
| trivy.includeDevDeps | bool | `false` | includeDevDeps include development dependencies in the report (supported: npm, yarn) (default: false) note: this flag is only applicable when trivy.command is set to filesystem |
| trivy.insecureRegistries | object | `{}` | The registry to which insecure connections are allowed. There can be multiple registries with different keys. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ data:
TRIVY_DEBUG: {{ .Values.trivy.debug | quote }}
TRIVY_SKIP_DB_UPDATE: "false"
TRIVY_DB_REPOSITORY: "{{ .Values.trivy.dbRegistry }}/{{ .Values.trivy.dbRepository }}"
TRIVY_JAVA_DB_REPOSITORY: "{{ .Values.trivy.javaDbRegistry }}/{{ .Values.trivy.javaDbRepository }}"
TRIVY_INSECURE: "{{ .Values.operator.builtInServerRegistryInsecure }}"
{{- end }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- with .Values.operator.annotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }}
labels:
labels:
{{- include "trivy-operator.labels" . | nindent 4 }}
{{- with .Values.operator.labels }}
{{- toYaml . | nindent 4 }}
Expand Down Expand Up @@ -50,6 +50,9 @@ spec:
value: {{ tpl .Values.targetWorkloads . | quote }}
- name: OPERATOR_SERVICE_ACCOUNT
value: {{ include "trivy-operator.serviceAccountName" . | quote }}
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
envFrom:
- configMapRef:
name: trivy-operator-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
app.kubernetes.io/name: trivy-operator
app.kubernetes.io/instance: trivy-operator
app.kubernetes.io/version: 0.23.0
app.kubernetes.io/version: 0.24.0
app.kubernetes.io/managed-by: kubectl
spec:
cron: {{ .Values.compliance.cron | quote}}
Expand Down
33 changes: 18 additions & 15 deletions helmfile.d/upstream/aquasecurity/trivy-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ targetNamespaces: ""
# mode, i.e. when the targetNamespaces values is a blank string.
excludeNamespaces: ""

# -- extraEnv is a list of extra environment variables for the trivy-operator.
extraEnv: []

# -- targetWorkloads is a comma seperated list of Kubernetes workload resources
# to be included in the vulnerability and config-audit scans
# if left blank, all workload resources will be scanned
Expand Down Expand Up @@ -340,7 +343,7 @@ trivy:
# -- repository of the Trivy image
repository: aquasec/trivy
# -- tag version of the Trivy image
tag: 0.57.1
tag: 0.59.1
# -- imagePullSecret is the secret name to be used when pulling trivy image from private registries example : reg-secret
# It is the user responsibility to create the secret for the private registry in `trivy-operator` namespace
imagePullSecret: ~
Expand Down Expand Up @@ -636,7 +639,7 @@ serviceAccount:
podAnnotations: {}

podSecurityContext: {}
# fsGroup: 2000
# fsGroup: 2000

# -- securityContext security context
securityContext:
Expand All @@ -659,16 +662,17 @@ volumes:
emptyDir: {}

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:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# -- 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:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

# -- nodeSelector set the operator nodeSelector
nodeSelector: {}

Expand All @@ -681,7 +685,7 @@ affinity: {}
# -- priorityClassName set the operator priorityClassName
priorityClassName: ""

# -- automountServiceAccountToken the flag to enable automount for service account token
# -- automountServiceAccountToken the flag to enable automount for service account token
automountServiceAccountToken: true

policiesBundle:
Expand All @@ -691,7 +695,7 @@ policiesBundle:
repository: aquasec/trivy-checks
# -- tag version of the policies bundle
tag: 1
# -- registryUser is the user for the registry
# -- registryUser is the user for the registry
registryUser: ~
# -- registryPassword is the password for the registry
registryPassword: ~
Expand All @@ -703,7 +707,6 @@ policiesBundle:
# -- insecure is the flag to enable insecure connection to the policy bundle registry
insecure: false


nodeCollector:
# -- useNodeSelector determine if to use nodeSelector (by auto detecting node name) with node-collector scan job
useNodeSelector: true
Expand Down
2 changes: 1 addition & 1 deletion helmfile.d/upstream/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repositories:
nvidia: https://helm.ngc.nvidia.com/nvidia

charts:
aquasecurity/trivy-operator: 0.25.0
aquasecurity/trivy-operator: 0.26.0

bitnami/fluentd: 7.1.1
bitnami/thanos: 15.0.5
Expand Down
4 changes: 2 additions & 2 deletions helmfile.d/values/falco/falco-common.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ customRules:
- gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller
- gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/resolvers
- gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook
- mirror.ghcr.io/aquasecurity/node-collector
- mirror.ghcr.io/aquasecurity/trivy-operator
- mirror.gcr.io/aquasec/node-collector
- mirror.gcr.io/aquasec/trivy-operator
- ghcr.io/dexidp/dex
- ghcr.io/elastisys/argocd-managed-namespaces-manager
- ghcr.io/elastisys/calico-accountant
Expand Down

0 comments on commit baea4c2

Please sign in to comment.