kube-hunter
by kfirfer
Helm chartv1.0.5App 0.6.8
A Helm chart for Kube-hunter
About this chart
Kube-hunter Helm Chart
This directory contains a Kubernetes chart to deploy Kube-hunter.
Chart Details
This chart will do the following:
- Create a CronJob which runs Kube-hunter in Pod mode.
Installing the Chart
To install the chart, use the following:
$ helm install stable/kube-hunter
Configuration
The following table lists the configurable parameters of the docker-registry chart and their default values.
| Parameter | Description | Default |
|---|---|---|
customArguments | Additional custom arguments to give to kube-hunter | [] |
image.pullPolicy | Container pull policy | IfNotPresent |
image.repository | Container image to use | aquasec/kube-hunter |
image.tag | Container image tag to deploy | 312 |
cronjob.schedule | Schedule for the CronJob | 0 1 * * * |
cronjob.annotations | Annotations to add to the cronjob | {} |
cronjob.concurrencyPolicy | `Allow | Forbid |
cronjob.failedJobsHistoryLimit | Specify the number of failed Jobs to keep | 1 |
cronjob.successfulJobsHistoryLimit | Specify the number of completed Jobs to keep | 1 |
pod.annotations | Annotations to add to the pod | {} |
resources | Resource requests and limits | {} |
priorityClassName | priorityClassName | nil |
Specify each parameter using the --set key=value[,key=value] argument to
helm install.
Deploy kube-hunter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-hunter 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-hunter is pinned at v1.0.5 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