kube-bench

by Lemontech SA

Helm chartv0.1.0Verified publisher

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

About this chart

kube-bench

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

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

How to install this chart

Add Lemontech public chart repo:

helm repo add lemontech https://charts.lemontech.engineering/

A simple install with default values:

helm install lemontech/kube-bench

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

helm install my-release lemontech/kube-bench

To install with some set values:

helm install my-release lemontech/kube-bench --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release lemontech/kube-bench -f values.yaml

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
concurrencyPolicystring"Forbid"
cronjob.commandlist[]
cronjob.schedulestring"0 0 1 * *"
extraEnvlist[]
image.pullPolicystring"IfNotPresent"
image.repositorystring"aquasec/kube-bench"
image.tagstring"v0.6.9"
nodeSelectorobject{}
providerstring"eks"
resourcesobject{}
serviceAccount.annotationsobject{}
serviceAccount.createboolfalse
tolerationslist[]

Maintainers

NameEmailUrl
raulsh[email protected]

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.0 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