feat: add extraVolumeMounts and reports mount (#178)
* feat: add extraVolumeMounts and reports mount Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de> * fix: add newline Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de> * fix: use other source Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de> --------- Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
parent
b14b844461
commit
e44a173b55
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v2
|
||||
description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft
|
||||
name: sbom-operator
|
||||
version: 0.30.0
|
||||
version: 0.30.1
|
||||
appVersion: 0.29.0
|
||||
home: https://github.com/ckotzbauer/sbom-operator
|
||||
sources:
|
||||
|
|
|
|||
|
|
@ -74,6 +74,9 @@ spec:
|
|||
name: work
|
||||
- mountPath: /tmp
|
||||
name: tmp
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: work
|
||||
emptyDir: {}
|
||||
|
|
|
|||
|
|
@ -53,3 +53,5 @@ tolerations: []
|
|||
affinity: {}
|
||||
|
||||
extraVolumes: []
|
||||
|
||||
extraVolumeMounts: []
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v2
|
||||
description: Scans SBOMs for vulnerabilities
|
||||
name: vulnerability-operator
|
||||
version: 0.23.0
|
||||
version: 0.23.1
|
||||
appVersion: 0.21.0
|
||||
home: https://github.com/ckotzbauer/vulnerability-operator
|
||||
sources:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
args:
|
||||
sources: kubernetes
|
||||
|
|
@ -62,6 +62,10 @@ spec:
|
|||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
volumeMounts:
|
||||
{{- if .Values.useReportsEmptyDir }}
|
||||
- mountPath: /reports
|
||||
name: reports
|
||||
{{- end }}
|
||||
- mountPath: /work
|
||||
name: work
|
||||
- mountPath: /tmp
|
||||
|
|
@ -70,7 +74,14 @@ spec:
|
|||
- mountPath: /vuln
|
||||
name: grype
|
||||
{{- end }}
|
||||
{{- if .Values.extraVolumeMounts }}
|
||||
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.useReportsEmptyDir }}
|
||||
- name: reports
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
- name: work
|
||||
emptyDir: {}
|
||||
- name: tmp
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ args: {}
|
|||
|
||||
envVars: {}
|
||||
|
||||
useReportsEmptyDir: true
|
||||
|
||||
ignoreRules: ""
|
||||
# ignore:
|
||||
# # This is the full set of supported rule fields:
|
||||
|
|
@ -107,3 +109,5 @@ tolerations: []
|
|||
affinity: {}
|
||||
|
||||
extraVolumes: []
|
||||
|
||||
extraVolumeMounts: []
|
||||
|
|
|
|||
Loading…
Reference in New Issue