vulnerability-operator

by ckotzbauer

Helm chartv0.31.19App 0.28.20Verified publisher

Scans SBOMs for vulnerabilities

About this chart

vulnerability-operator

Scans SBOMs for vulnerabilities.

Learn more: https://github.com/ckotzbauer/vulnerability-operator

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release ckotzbauer/vulnerability-operator

The command deploys the vulnerability-operator to the Kubernetes cluster using the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the vulnerability-operator chart and their default values.

ParameterDescriptionDefault
image.repositorycontainer image repositoryghcr.io/ckotzbauer/vulnerability-operator
image.tagcontainer image tag0.28.20
image.pullPolicycontainer image pull policyIfNotPresent
argsargument object for cli-args{}
envVarsenvironment variables{}
useReportsEmptyDiruse empty-dir for /reports dir, needs to be false when volume is usedtrue
ignoreRulesGrype ignore-rules""
filterConfigSpecify ignore- and audit-rules""
nodeSelectornode labels for pod assignment{}
tolerationsnode tolerations for pod assignment[]
affinitynode affinity for pod assignment{}
podAnnotationsannotations to add to each pod{}
priorityClassNamepriority class name for the pod""
resourcespod resource requests & limitsSee values.yaml
extraVolumesExtra volumes (needed for GithubApp PK).[]
extraVolumeMountsExtra volume mounts[]
podSecurityContextpod securityContextSee values.yaml
securityContextcontainer securityContextSee values.yaml
serviceAccount.createShould we create a ServiceAccounttrue
serviceAccount.nameName of the ServiceAccount to usenull
servicemonitor.enabledShould we create a ServiceMonitorfalse
servicemonitor.relabelingsConfigure relabelings for Prometheus{}
servicemonitor.metricRelabelingsConfigure metricRelabelings for Prometheus{}
servicemonitor.additionalLabelsAdditional labels for the ServiceMonitor object.{}
ingress.enabledwhether to create an Ingressfalse
ingress.classNamename of the IngressClass""
ingress.annotationsAnnotations for the Ingress{}
ingress.hostsList of host-objects for the Ingress[]
ingress.tlsList of TLS-configs for the Ingress[]

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install my-release \
    --set key_1=value_1,key_2=value_2 \
    ckotzbauer/vulnerability-operator

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

# example for staging
$ helm install my-release -f values.yaml ckotzbauer/vulnerability-operator

Tip: You can use the default values.yaml

Deploy vulnerability-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vulnerability-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartvulnerability-operator is pinned at v0.31.19 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply