From 76a25d65c3c3235dcc354578a72007a54d136526 Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Sat, 17 Sep 2022 20:01:25 +0200 Subject: [PATCH] update vulnerability-operator to 0.9.0 Signed-off-by: Christian Kotzbauer --- charts/vulnerability-operator/Chart.yaml | 4 ++-- charts/vulnerability-operator/README.md | 3 ++- charts/vulnerability-operator/templates/deployment.yaml | 3 +++ charts/vulnerability-operator/values.yaml | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/charts/vulnerability-operator/Chart.yaml b/charts/vulnerability-operator/Chart.yaml index 97ad491..cab1356 100644 --- a/charts/vulnerability-operator/Chart.yaml +++ b/charts/vulnerability-operator/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 description: Scans SBOMs for vulnerabilities name: vulnerability-operator -version: 0.8.1 -appVersion: 0.8.1 +version: 0.9.0 +appVersion: 0.9.0 home: https://github.com/ckotzbauer/vulnerability-operator sources: - https://github.com/ckotzbauer/vulnerability-operator diff --git a/charts/vulnerability-operator/README.md b/charts/vulnerability-operator/README.md index 9264131..2a8a9d7 100644 --- a/charts/vulnerability-operator/README.md +++ b/charts/vulnerability-operator/README.md @@ -31,7 +31,7 @@ The following table lists the configurable parameters of the vulnerability-opera | Parameter | Description | Default | | -------------------------------------- | ------------------------------------------------- | --------------------------------------------- | | `image.repository` | container image repository | `ghcr.io/ckotzbauer/vulnerability-operator` | -| `image.tag` | container image tag | `0.8.1` | +| `image.tag` | container image tag | `0.9.0` | | `image.pullPolicy` | container image pull policy | `IfNotPresent` | | `args` | argument object for cli-args | `{}` | | `envVars` | environment variables | `{}` | @@ -41,6 +41,7 @@ The following table lists the configurable parameters of the vulnerability-opera | `affinity` | node affinity for pod assignment | `{}` | | `podAnnotations` | annotations to add to each pod | `{}` | | `resources` | pod resource requests & limits | See [values.yaml](values.yaml) | +| `extraVolumes` | Extra volumes (needed for GithubApp PK). | `[]` | | `securityContext` | container securityContext | See [values.yaml](values.yaml) | | `serviceAccount.create` | Should we create a ServiceAccount | `true` | | `serviceAccount.name` | Name of the ServiceAccount to use | null | diff --git a/charts/vulnerability-operator/templates/deployment.yaml b/charts/vulnerability-operator/templates/deployment.yaml index 997e47b..78fdb2f 100644 --- a/charts/vulnerability-operator/templates/deployment.yaml +++ b/charts/vulnerability-operator/templates/deployment.yaml @@ -69,6 +69,9 @@ spec: emptyDir: {} - name: tmp emptyDir: {} +{{- if .Values.extraVolumes }} +{{- toYaml .Values.extraVolumes | nindent 8 }} +{{- end }} {{- if .Values.ignoreRules }} - name: grype configMap: diff --git a/charts/vulnerability-operator/values.yaml b/charts/vulnerability-operator/values.yaml index 77ffd79..be26292 100644 --- a/charts/vulnerability-operator/values.yaml +++ b/charts/vulnerability-operator/values.yaml @@ -86,3 +86,5 @@ nodeSelector: {} tolerations: [] affinity: {} + +extraVolumes: []