From ca5f042caa3597a38c20385d5afd3df81a84d258 Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Sat, 17 Sep 2022 11:07:44 +0200 Subject: [PATCH] update sbom-operator to 0.17.0 Signed-off-by: Christian Kotzbauer --- charts/sbom-operator/Chart.yaml | 4 ++-- charts/sbom-operator/README.md | 3 ++- charts/sbom-operator/templates/deployment.yaml | 3 +++ charts/sbom-operator/values.yaml | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/charts/sbom-operator/Chart.yaml b/charts/sbom-operator/Chart.yaml index 848e7cf..ecc7dce 100644 --- a/charts/sbom-operator/Chart.yaml +++ b/charts/sbom-operator/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 description: Catalogue all images of a Kubernetes cluster to multiple targets with Syft name: sbom-operator -version: 0.16.0 -appVersion: 0.16.0 +version: 0.17.0 +appVersion: 0.17.0 home: https://github.com/ckotzbauer/sbom-operator sources: - https://github.com/ckotzbauer/sbom-operator diff --git a/charts/sbom-operator/README.md b/charts/sbom-operator/README.md index 132dff6..bb1b8a5 100644 --- a/charts/sbom-operator/README.md +++ b/charts/sbom-operator/README.md @@ -31,7 +31,7 @@ The following table lists the configurable parameters of the sbom-operator chart | Parameter | Description | Default | | -------------------------------------- | ------------------------------------------------- | ---------------------------------------- | | `image.repository` | container image repository | `ghcr.io/ckotzbauer/sbom-operator` | -| `image.tag` | container image tag | `0.16.0` | +| `image.tag` | container image tag | `0.17.0` | | `image.pullPolicy` | container image pull policy | `IfNotPresent` | | `image.pullSecrets` | image pull-secrets | `[]` | | `args` | argument object for cli-args | `{}` | @@ -45,6 +45,7 @@ The following table lists the configurable parameters of the sbom-operator chart | `serviceAccount.create` | Should we create a ServiceAccount | `true` | | `serviceAccount.name` | Name of the ServiceAccount to use | null | | `jobImageMode` | Whether or not a job-image is used. | `false` | +| `extraVolumes` | Extra volumes (needed for GithubApp PK). | `[]` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, diff --git a/charts/sbom-operator/templates/deployment.yaml b/charts/sbom-operator/templates/deployment.yaml index a4c44b1..15d3601 100644 --- a/charts/sbom-operator/templates/deployment.yaml +++ b/charts/sbom-operator/templates/deployment.yaml @@ -76,6 +76,9 @@ spec: emptyDir: {} - name: tmp emptyDir: {} +{{- if .Values.extraVolumes }} +{{- toYaml .Values.extraVolumes | nindent 8 }} +{{- end }} {{- with .Values.image.pullSecrets }} imagePullSecrets: {{ toYaml . | indent 8 }} diff --git a/charts/sbom-operator/values.yaml b/charts/sbom-operator/values.yaml index 1c0646a..2a8bd70 100644 --- a/charts/sbom-operator/values.yaml +++ b/charts/sbom-operator/values.yaml @@ -49,3 +49,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +extraVolumes: []