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