fix: add args and missing mounts

Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
Christian Kotzbauer 2022-01-20 12:18:17 +01:00
parent 0d2c54b7ec
commit 79a1bd9d7d
4 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
description: Catalogue all images of a Kubernetes cluster to Git with Syft
name: sbom-operator
version: 0.1.0
version: 0.1.1
appVersion: 0.1.0
home: https://github.com/ckotzbauer/sbom-operator
sources:

View File

@ -33,6 +33,7 @@ The following table lists the configurable parameters of the sbom-operator chart
| `image.repository` | container image repository | `ghcr.io/ckotzbauer/sbom-operator` |
| `image.tag` | container image tag | `0.1.0` |
| `image.pullPolicy` | container image pull policy | `IfNotPresent` |
| `args` | argument object for cli-args | `{}` |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `tolerations` | node tolerations for pod assignment | `[]` |
| `affinity` | node affinity for pod assignment | `{}` |

View File

@ -38,6 +38,16 @@ spec:
{{ toYaml .Values.securityContext | indent 12 }}
resources:
{{ toYaml .Values.resources | indent 12 }}
volumeMounts:
- mountPath: /work
name: work
- mountPath: /tmp
name: tmp
volumes:
- name: work
emptyDir: {}
- name: tmp
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}

View File

@ -7,6 +7,8 @@ image:
tag: 0.1.0
pullPolicy: IfNotPresent
args: {}
podAnnotations: {}
resources: {}