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
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| concurrencyPolicy | string | "Forbid" | |
| cronjob.command | list | [] | |
| cronjob.schedule | string | "0 0 1 * *" | |
| extraEnv | list | [] | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "aquasec/kube-bench" | |
| image.tag | string | "v0.6.9" | |
| nodeSelector | object | {} | |
| provider | string | "eks" | |
| resources | object | {} | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | false | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkube-bench is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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