kube-bench

by Delivery Hero

Helm chartv0.1.17App 0.8.0Verified publisher

Helm chart to deploy run kube-bench as a cronjob on aks, gke or eks.

About this chart

kube-bench

Helm chart to deploy run kube-bench as a cronjob on aks, gke or eks.

Homepage: https://github.com/aquasecurity/kube-bench

How to install this chart

A simple install with default values, latest chart version and generated name:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/kube-bench

To install a specific version of this chart:

helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/kube-bench --version 0.1.17

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

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-bench

To install with some set values:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-bench --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release oci://ghcr.io/deliveryhero/helm-charts/kube-bench -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
concurrencyPolicystring"Forbid"
cronjob.commandlist[]
cronjob.schedulestring"0 0 1 * *"
extraLabelsobject{}
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"aquasec/kube-bench"
image.tagstring"v0.8.0"
nameOverridestring""
nodeSelectorobject{}
podLabelsobject{}
providerstring"eks"
resourcesobject{}
securityContextobject{}
serviceAccount.annotationsobject{}
serviceAccount.createboolfalse
tolerationslist[]
volumeMounts[0].mountPathstring"/var/lib/kubelet"
volumeMounts[0].namestring"var-lib-kubelet"
volumeMounts[0].readOnlybooltrue
volumeMounts[1].mountPathstring"/etc/systemd"
volumeMounts[1].namestring"etc-systemd"
volumeMounts[1].readOnlybooltrue
volumeMounts[2].mountPathstring"/etc/kubernetes"
volumeMounts[2].namestring"etc-kubernetes"
volumeMounts[2].readOnlybooltrue
volumes[0].hostPath.pathstring"/var/lib/kubelet"
volumes[0].namestring"var-lib-kubelet"
volumes[1].hostPath.pathstring"/etc/systemd"
volumes[1].namestring"etc-systemd"
volumes[2].hostPath.pathstring"/etc/kubernetes"
volumes[2].namestring"etc-kubernetes"

Maintainers

NameEmailUrl
goelankitthttps://github.com/goelankitt

Chart source and versions

Chart source: github.com/deliveryhero/helm-charts/kube-bench

Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/kube-bench

Deploy kube-bench with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-bench 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 chartkube-bench is pinned at v0.1.17 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